/*
 * AurBoss — Training & Careers marketing page.
 * Self-contained. Prefix .abt- to avoid collisions with the auth redesign
 * (.abx-) and header (.abh-) styles. Teal/navy brand palette.
 */
:root {
  --abt-teal: #1c9fce;
  --abt-teal-dark: #067ea5;
  --abt-navy: #12324f;
  --abt-ink: #1e283b;
  --abt-muted: #5a6273;
  --abt-line: #e8edf2;
  --abt-bg: #f6f9fb;
  --abt-card: #ffffff;
  --abt-cyan: #12b3e6;
  --abt-grad: linear-gradient(120deg, #12b3e6, #1c9fce 55%, #067ea5);
  --abt-glow: 0 24px 60px -28px rgba(28, 159, 206, .55);
}

.abt-page {
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
  padding: 0 24px;
  font-family: 'Almarai', 'Segoe UI', sans-serif;
  color: var(--abt-ink);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Premium pass: Tajawal display headings + reveal ---------- */
.abt-page h1, .abt-page h2, .abt-page h3, .abt-page h4,
.abt-hero-title, .abt-section-title, .abt-sub-title, .abt-card-title, .abt-tab {
  font-family: 'Tajawal', 'Almarai', sans-serif !important;
  letter-spacing: -0.01em;
}
.abt-hero-title { background: var(--abt-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* vendor.css sets bare h2/h3 to #666 — restore intended heading colours. */
.abt-page .abt-section-title, .abt-page .abt-card-title { color: var(--abt-ink); }
.abt-page .abt-sub-title { color: var(--abt-navy); }
.abt-badge { background: rgba(28, 159, 206, .12); }
.abt-card { border-radius: 20px; box-shadow: 0 2px 4px rgba(15, 23, 42, .03); overflow: hidden; position: relative; }
.abt-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--abt-grad); transform: scaleX(0); transform-origin: center; transition: transform .35s ease; }
.abt-card:hover { box-shadow: var(--abt-glow); border-color: transparent; }
.abt-card:hover::before { transform: scaleX(1); }
.abt-value-icon, .abt-avatar, .abt-cert-seal, .abt-path-num { background: var(--abt-grad) !important; }
.abt-value-icon { color: #fff !important; }
.abt-btn--primary { background: var(--abt-grad); border-color: transparent; }
.abt-cta { background: linear-gradient(135deg, var(--abt-navy), var(--abt-teal-dark)); position: relative; overflow: hidden; }
.abt-cta::after { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; bottom: -200px; inset-inline-start: -120px; background: radial-gradient(circle, rgba(18, 179, 230, .3), transparent 70%); }
.abt-cta > * { position: relative; z-index: 1; }

.abm-js .abm-rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .75, .25, 1); }
.abm-js .abm-rv.abm-rv--in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .abm-js .abm-rv { transition: none; opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.abt-hero { text-align: center; padding: 44px 0 30px; }
.abt-badge {
  display: inline-block; font-size: .82rem; font-weight: 700; color: var(--abt-teal-dark);
  background: rgba(28, 159, 206, .1); border: 1px solid rgba(28, 159, 206, .25);
  padding: .35rem 1rem; border-radius: 999px; margin-bottom: 1rem;
}
.abt-hero-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; margin: 0 0 .6rem; line-height: 1.2; }
.abt-hero-sub { font-size: 1.05rem; color: var(--abt-muted); max-width: 720px; margin: 0 auto; line-height: 1.9; }

/* ---------- Tabs ---------- */
.abt-tabs {
  display: flex; justify-content: center; gap: .4rem; margin: 26px auto 34px;
  background: #eef3f7; padding: 5px; border-radius: 999px; width: fit-content;
}
.abt-tab {
  border: 0; background: transparent; cursor: pointer; font-family: inherit;
  font-size: .98rem; font-weight: 700; color: var(--abt-muted);
  padding: .6rem 1.6rem; border-radius: 999px; transition: all .2s;
}
.abt-tab.is-active { background: #fff; color: var(--abt-ink); box-shadow: 0 3px 10px rgba(15, 20, 30, .1); }

/* ---------- Panels ---------- */
.abt-panel { display: none; }
.abt-panel.is-active { display: block; animation: abt-fade .35s ease; }
@keyframes abt-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Section titles ---------- */
.abt-section-title {
  font-size: 1.5rem; font-weight: 800; margin: 44px 0 20px; position: relative; padding-inline-start: 14px;
}
.abt-section-title::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 4px;
  background: linear-gradient(180deg, var(--abt-teal), var(--abt-teal-dark));
}
.abt-section-title--center { text-align: center; padding: 0; }
.abt-section-title--center::before { display: none; }
.abt-sub-title { font-size: 1.25rem; font-weight: 800; margin: 40px 0 18px; text-align: center; color: var(--abt-navy); }

/* ---------- Grids ---------- */
.abt-grid { display: grid; gap: 18px; }
.abt-grid-4 { grid-template-columns: repeat(4, 1fr); }
.abt-grid-3 { grid-template-columns: repeat(3, 1fr); }
.abt-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Card base ---------- */
.abt-card {
  background: var(--abt-card); border: 1px solid var(--abt-line); border-radius: 18px;
  padding: 22px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.abt-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .35); border-color: rgba(28, 159, 206, .4); }
.abt-card-title { font-size: 1.08rem; font-weight: 800; margin: 0 0 .5rem; line-height: 1.4; }
.abt-card-desc { font-size: .92rem; color: var(--abt-muted); line-height: 1.75; margin: 0 0 1rem; flex: 1 1 auto; }

/* ---------- Course ---------- */
.abt-course-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.abt-chip { font-size: .74rem; font-weight: 800; padding: .28rem .7rem; border-radius: 999px; }
.abt-chip--free { color: #0a7d4b; background: #dff4e9; }
.abt-chip--paid { color: var(--abt-teal-dark); background: #e2f3fa; }
.abt-course-dur { font-size: .82rem; color: var(--abt-muted); font-weight: 700; }
.abt-course-meta { font-size: .85rem; color: var(--abt-muted); margin-bottom: 14px; }
.abt-course-meta b { color: var(--abt-ink); }

/* ---------- Webinar ---------- */
.abt-status { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 800; padding: .3rem .75rem; border-radius: 999px; margin-bottom: 12px; width: fit-content; }
.abt-status--live { color: #c0271e; background: #fde5e3; }
.abt-status--soon { color: var(--abt-muted); background: #eef1f4; }
.abt-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0392b; animation: abt-pulse 1.4s infinite; }
@keyframes abt-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.abt-webinar-speaker { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--abt-muted); margin-bottom: 16px; }
.abt-webinar-speaker b { color: var(--abt-ink); }
.abt-avatar { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--abt-teal), var(--abt-teal-dark)); }

/* ---------- Certificate ---------- */
.abt-cert { align-items: center; text-align: center; }
.abt-cert-seal {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--abt-teal), var(--abt-teal-dark)); margin-bottom: 14px;
  box-shadow: 0 8px 20px -8px rgba(6, 126, 165, .7);
}
.abt-cert-facts { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--abt-line); width: 100%; text-align: start; }
.abt-cert-facts li { display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; padding: 5px 0; }
.abt-cert-facts span { color: var(--abt-muted); }
.abt-cert-facts b { color: var(--abt-ink); text-align: end; }

/* ---------- Learning path ---------- */
.abt-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.abt-path-step { display: flex; gap: 14px; background: var(--abt-card); border: 1px solid var(--abt-line); border-radius: 16px; padding: 18px; }
.abt-path-num { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center;
  font-weight: 900; color: #fff; background: var(--abt-navy); }
.abt-path-step h4 { margin: 2px 0 6px; font-size: 1rem; font-weight: 800; }
.abt-path-step p { margin: 0; font-size: .85rem; color: var(--abt-muted); line-height: 1.6; }

/* ---------- Careers ---------- */
.abt-careers-intro { text-align: center; margin-bottom: 8px; }
.abt-careers-lead { font-size: 1.02rem; color: var(--abt-muted); max-width: 720px; margin: 12px auto 0; line-height: 1.9; }
.abt-value, .abt-benefit { text-align: center; align-items: center; }
.abt-value-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem;
  color: var(--abt-teal-dark); background: rgba(28, 159, 206, .1); margin-bottom: 14px; }

/* ---------- Position ---------- */
.abt-position { }
.abt-position-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.abt-position-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.abt-tag { font-size: .72rem; font-weight: 700; padding: .24rem .6rem; border-radius: 6px; background: #eef1f4; color: var(--abt-muted); }
.abt-tag--dep { background: var(--abt-navy); color: #fff; }
.abt-position-stats { text-align: end; flex-shrink: 0; }
.abt-applicants { display: block; font-weight: 800; font-size: .85rem; }
.abt-posted { font-size: .76rem; color: var(--abt-muted); }
.abt-position-facts { display: flex; gap: 18px; font-size: .85rem; color: var(--abt-muted); margin-bottom: 14px; flex-wrap: wrap; }
.abt-req { background: var(--abt-bg); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.abt-req h5 { margin: 0 0 8px; font-size: .85rem; font-weight: 800; }
.abt-req ul { margin: 0; padding-inline-start: 18px; }
.abt-req li { font-size: .84rem; color: var(--abt-muted); line-height: 1.7; }

/* ---------- Buttons ---------- */
.abt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit;
  font-weight: 800; font-size: .92rem; border-radius: 999px; padding: .65rem 1.4rem; text-decoration: none;
  cursor: pointer; border: 1.5px solid transparent; transition: all .25s; }
.abt-btn--block { width: 100%; }
.abt-btn--lg { padding: .85rem 2.2rem; font-size: 1rem; }
.abt-btn--primary { background: var(--abt-ink); color: #fff; border-color: var(--abt-ink); }
.abt-btn--primary:hover { background: var(--abt-teal); border-color: var(--abt-teal); color: #04222f; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(28, 159, 206, .7); }
.abt-btn--ghost { background: #fff; color: var(--abt-ink); border-color: var(--abt-line); }
.abt-btn--ghost:hover { border-color: var(--abt-teal); color: var(--abt-teal-dark); }
.abt-btn--light { background: #fff; color: var(--abt-navy); }
.abt-btn--light:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .5); }

/* ---------- CTA ---------- */
.abt-cta { text-align: center; margin: 50px 0 10px; padding: 42px 24px; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, var(--abt-navy), var(--abt-teal-dark)); }
.abt-cta h3 { font-size: 1.5rem; font-weight: 900; margin: 0 0 .6rem; }
.abt-cta p { max-width: 560px; margin: 0 auto 1.4rem; line-height: 1.8; opacity: .92; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .abt-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .abt-path { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .abt-grid-3, .abt-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .abt-grid-4 { grid-template-columns: 1fr; }
  .abt-path { grid-template-columns: 1fr; }
  .abt-tabs { width: 100%; }
  .abt-tab { flex: 1; padding: .6rem .5rem; }
}
