/* ============================================================
   AutoScan Training – Neon Cyan Theme (Full style.css)
   ============================================================ */
:root{
  --bg:#050509;
  --bg2:#0e0e15;
  --card:#141423;
  --card2:#11111d;
  --text:#f5f5f5;
  --muted:#a8a8b4;
  --border:#23233a;

  --accent:#00d1ff;
  --accent2:#00a3ff;
  --accent-rgb:0,209,255;
  --accent2-rgb:0,163,255;

  --shadow:0 18px 60px rgba(0,0,0,.45);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(var(--accent-rgb),.20), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(var(--accent2-rgb),.12), transparent 60%),
    linear-gradient(180deg,var(--bg),#030307 70%);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:0 18px}
.muted{color:var(--muted)}
.accent{color:var(--accent)}

/* ---------------- TOP BAR ---------------- */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(5,5,9,.55);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar-inner{
  display:flex;align-items:center;justify-content:space-between;height:68px;
}
.brand{display:flex;align-items:center;gap:10px}
.brand-dot{
  width:10px;height:10px;border-radius:999px;background:var(--accent);
  box-shadow:0 0 0 6px rgba(var(--accent-rgb),.15);
}
.brand-text{font-size:16px;letter-spacing:.2px}
.nav{display:flex;gap:18px}
.nav a{
  color:var(--muted);
  padding:10px 10px;
  border-radius:10px;
}
.nav a:hover{color:var(--text);background:rgba(255,255,255,.06)}

.btn{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);
  padding:11px 14px;
  border-radius:14px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:.2s ease;
  font-weight:600;
}
.btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.18)}
.btn-primary{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  border-color:rgba(255,255,255,.10);
  box-shadow:0 12px 40px rgba(var(--accent-rgb),.25);
}
.btn-primary:hover{box-shadow:0 16px 55px rgba(var(--accent-rgb),.35)}
.btn-soft{
  background:rgba(var(--accent-rgb),.10);
  border-color:rgba(var(--accent-rgb),.35);
}
.btn-ghost{background:rgba(255,255,255,.03)}
.icon-btn{
  width:40px;height:40px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
}

/* ---------------- HERO ---------------- */
.hero{padding:48px 0 18px}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:start}
.hero-left{padding-top:10px}
.pill{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--muted);
}
.pill-dot{width:8px;height:8px;border-radius:999px;background:var(--accent)}
.hero-title{font-size:40px;line-height:1.1;margin:14px 0 12px}
.hero-sub{color:var(--muted);font-size:16px;margin:0 0 18px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}

.stats{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:12px;margin-top:18px;
}
.stat{
  padding:14px;border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.stat-num{font-weight:800;font-size:16px}
.stat-txt{color:var(--muted);font-size:13px;margin-top:2px}

/* ---------------- HERO CARD ---------------- */
.hero-card{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-card-top{
  display:flex;justify-content:flex-end;gap:10px;
  padding:14px 14px 0;
}
.badge{
  font-size:12px;font-weight:800;
  padding:6px 10px;border-radius:999px;
  background:rgba(var(--accent-rgb),.14);
  border:1px solid rgba(var(--accent-rgb),.35);
}
.badge.ghost{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color:var(--muted);
}
.terminal{margin:12px 14px 14px;border-radius:16px;overflow:hidden;border:1px solid rgba(255,255,255,.10)}
.terminal-bar{
  display:flex;align-items:center;gap:8px;
  padding:10px 12px;background:rgba(0,0,0,.25);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.dot{width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,.28)}
.dot.red{background:#ff5a5f}
.dot.yellow{background:#ffbd2e}
.dot.green{background:#28c840}
.terminal-title{margin-left:auto;color:var(--muted);font-size:12px}
.terminal-body{
  margin:0;padding:12px;
  background:rgba(0,0,0,.18);
  color:#e9e9ef;
  font-size:12.5px;
  white-space:pre-wrap;
}
.hero-note{padding:0 14px 16px}
.hero-note-title{font-weight:800;margin:0 0 8px}
.checklist{margin:0;padding-left:18px;color:var(--muted)}
.checklist li{margin:6px 0}

/* ---------------- SECTION ---------------- */
.section{padding:56px 0}
.section-alt{
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.03),transparent);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.section-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:14px;margin-bottom:18px;
}
.section-title{font-size:28px;margin:0 0 6px}
.section-sub{color:var(--muted);margin:0}

.grid.cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.card{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:16px;
  box-shadow:0 14px 45px rgba(0,0,0,.35);
}
.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.card-top h3{margin:0;font-size:18px}
.tag{
  font-size:12px;font-weight:800;
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--muted);
}
.card-text{color:var(--muted);margin:10px 0 12px}
.card-meta{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:13px;margin-bottom:12px}

/* ---------------- ABOUT ---------------- */
.about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}
.about-card{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:18px;
}
.about-card.glow{
  background:
    radial-gradient(650px 300px at 30% 0%, rgba(var(--accent-rgb),.18), transparent 55%),
    rgba(255,255,255,.03);
}
.about-list{display:grid;gap:12px;margin-top:14px}
.about-item{display:flex;gap:12px;align-items:flex-start}
.about-icon{
  width:40px;height:40px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}

/* ---------------- CONTACT ---------------- */
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}
.contact-card{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:18px;
}
.contact-card.glow{
  background:
    radial-gradient(650px 300px at 40% 0%, rgba(var(--accent-rgb),.16), transparent 55%),
    rgba(255,255,255,.03);
}

/* ---------------- CHIPS / PICKER ---------------- */
.chip{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:800;
  transition:.15s ease;
}
.chip:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.18)}
.chip.active{
  background:rgba(var(--accent-rgb),.14);
  border-color:rgba(var(--accent-rgb),.40);
  box-shadow:0 12px 40px rgba(var(--accent-rgb),.18);
}

/* ---------------- FOOTER ---------------- */
.footer{
  padding:18px 0 28px;
  border-top:1px solid rgba(255,255,255,.06);
  color:var(--muted);
}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.footer-links{display:flex;gap:14px}
.footer-links a:hover{color:var(--text)}

@media(max-width:980px){
  .hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr}
  .grid.cards{grid-template-columns:1fr}
  .hero-title{font-size:34px}
  .nav{display:none}
}
/* ================================
   CONTACT (Онлайн бүртгэл) UI polish
   Paste at END of style.css
   ================================ */

/* Гарчиг ба зай */
#contact .section-title{
  margin: 0 0 10px;
  letter-spacing: .2px;
}
#contact .contact-card{
  padding: 20px;
}

/* Утас / Facebook / Хаяг — илүү цэгцтэй хүснэгт мэт */
.contact-box{
  margin-top: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

.contact-row{
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.contact-row:last-child{ border-bottom: none; }

.contact-row .muted{
  font-size: 13px;
  letter-spacing: .2px;
  color: var(--muted);
}

.contact-row b{
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--text);
}

/* Жижиг дэлгэц дээр мөрөөр нь буулгаж гоё харагдуулна */
@media (max-width: 520px){
  .contact-row{
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Course picker title — жижигхэн, гоё divider-тэй */
.course-picker{
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
}

.course-picker-title{
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.course-picker-title::after{
  content:"";
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,.08);
}

/* Chips — текстийг жижигрүүлж, зай/мэдрэмжийг сайжруулна */
.course-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip{
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  transition: .15s ease;
}
.chip:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.20);
}

/* Active — neon цэнхэрээр */
.chip.active{
  background: rgba(var(--accent-rgb), .12);
  border-color: rgba(var(--accent-rgb), .45);
  box-shadow: 0 14px 45px rgba(var(--accent-rgb), .18);
}

/* Сонгосон сургалт мөр — цэвэрхэн */
.course-selected{
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 8px;
}
#selectedCourse{
  color: var(--accent);
  font-weight: 900;
}

/* =========================================
   GLOBAL BACKGROUND (Whole site) — CLEAN
   (Replace everything below with this block)
   ========================================= */

/* Make sure your image exists here:
   https://training.autoscan.mn/img/bg.jpeg
   Repo path must be: /img/bg.jpeg  (case-sensitive)
*/

html, body { min-height: 100%; }

body{
  /* let the fixed pseudo-element show through */
  background: transparent !important;
  color: var(--text);
  line-height: 1.55;
  position: relative;
}

/* Fixed background image (does NOT move when scrolling) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;

  background:
    /* dark overlay (text readable) */
    linear-gradient(180deg,
      rgba(0,0,0,.45) 0%,
      rgba(0,0,0,.58) 55%,
      rgba(0,0,0,.70) 100%
    ),
    /* neon glow */
    radial-gradient(900px 520px at 12% 8%, rgba(var(--accent-rgb), .18), transparent 60%),
    radial-gradient(900px 520px at 88% 10%, rgba(var(--accent2-rgb), .10), transparent 62%),
    /* background image */
    url("/img/bg.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* vignette (edges darker) */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  box-shadow: inset 0 0 170px rgba(0,0,0,.55);
}

/* Sections: keep them dark (avoid the white/grey “fog”) */
.section-alt{
  background: rgba(0,0,0,.18);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Cards: darker glass so background stays deep */
.card,
.about-card,
.contact-card,
.hero-card{
  background: rgba(10,10,18,.58);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
}

/* Mobile: fixed background can be heavy; this keeps it smooth */
@media (max-width: 900px){
  body::before, body::after{ position: fixed; }
}
