/* ===== BCIT WORLD Student Tools — Shared Styles =====
   Classic maroon + gold. Mobile-first.
   Reuses main site tokens where possible.
================================================= */

:root {
  --bw-maroon: #7a1a1a;
  --bw-maroon-deep: #4d0000;
  --bw-maroon-light: #a12525;
  --bw-gold: #c9a24a;
  --bw-gold-soft: #f5d67a;
  --bw-cream: #fdf7ea;
  --bw-cream-border: #eadcbb;
  --bw-text: #3a1a1a;
  --bw-text-muted: #6a5a3a;
  --bw-ink: #222;
}

/* ---------- Shared helpers ---------- */
.bt-wrap { max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.bt-section { padding: 36px 0; }
.bt-section + .bt-section { padding-top: 10px; }
.bt-h2 { color: var(--bw-maroon) !important; font-size: 26px; font-weight: 800; margin: 0 0 10px; letter-spacing: -.3px; }
.bt-wrap h2:not(.bt-h2):not(.bt-cta h2) { color: var(--bw-maroon) !important; }
.bt-wrap h3 { color: var(--bw-maroon) !important; }
.bt-cta h2 { color: #fff !important; }
.bt-sub { color: #5b5b5b; font-size: 15px; line-height: 1.65; margin: 0 0 22px; max-width: 820px; }
.bt-center { text-align: center; }
.bt-center .bt-sub { margin-left: auto; margin-right: auto; }

/* ---------- Hero (classic maroon banner) ---------- */
.bt-hero {
  background: linear-gradient(135deg, rgba(66,0,0,.92) 0%, rgba(125,15,15,.86) 45%, rgba(161,33,33,.80) 100%),
              url('../../../assets/img/about/BCIT_WORLD_Second_Lab.webp') center/cover no-repeat;
  color: #fff; padding: 60px 20px 54px; text-align: center;
  position: relative; overflow: hidden;
}
.bt-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.18)); pointer-events: none; }
.bt-hero > * { position: relative; z-index: 1; }
.bt-kicker {
  display: inline-block; background: #fdd63a; color: #4d0000; font-weight: 800;
  padding: 7px 18px; border-radius: 999px; font-size: 13px; letter-spacing: .3px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15); margin-bottom: 14px;
}
.bt-hero h1 {
  font-size: clamp(26px, 4.2vw, 42px); font-weight: 900; margin: 6px auto 14px;
  line-height: 1.2; max-width: 940px; letter-spacing: -.3px;
  color: #fff !important; text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.bt-hero h1 span, .bt-hero h1 strong { color: #fdd63a !important; }
.bt-hero p, .bt-hero p.lead {
  font-size: clamp(14.5px, 1.6vw, 17px); line-height: 1.65; margin: 0 auto 22px;
  max-width: 760px; opacity: .96; color: #fff !important;
}
.bt-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 16px auto 20px; max-width: 820px; }
.bt-badge {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
}
.bt-badge i { color: #fdd63a; margin-right: 6px; }
.bt-heroBtns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Buttons (reuse rv-btn tokens) ---------- */
.bt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 800; font-size: 14.5px;
  text-decoration: none; border: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  line-height: 1.1;
}
.bt-btn.gold   { background: #fdd63a; color: #4d0000; }
.bt-btn.maroon { background: var(--bw-maroon); color: #fff; }
.bt-btn.green  { background: #25D366; color: #fff; }
.bt-btn.outline-gold { background: transparent; color: #fdd63a; border: 2px solid #fdd63a; padding: 10px 20px; }
.bt-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.15); filter: brightness(1.03); }

/* ---------- Divider ---------- */
.bt-divider { height: 4px; background: linear-gradient(90deg, var(--bw-maroon) 0%, var(--bw-gold) 50%, var(--bw-maroon) 100%); }

/* ---------- Breadcrumb ---------- */
.bt-crumb { max-width: 1236px; margin: 14px auto 0; padding: 0 18px; color: #6a5a3a; font-size: 13.5px; }
.bt-crumb a { color: var(--bw-maroon); text-decoration: none; font-weight: 700; }
.bt-crumb i { color: var(--bw-gold); margin: 0 8px; font-size: 11px; }

/* ---------- Tool landing cards ---------- */
.bt-tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 20px; }
.bt-tcard {
  background: #fff; border: 1px solid var(--bw-cream-border); border-radius: 16px;
  padding: 26px 22px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative; overflow: hidden;
}
.bt-tcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--bw-maroon) 0%, var(--bw-gold) 50%, var(--bw-maroon) 100%);
}
.bt-tcard:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(122,26,26,.14); border-color: var(--bw-gold); }
.bt-tcard .ic {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--bw-maroon), var(--bw-maroon-light));
  color: var(--bw-gold-soft); display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: inset 0 0 0 2px var(--bw-gold);
}
.bt-tcard h3 { color: var(--bw-maroon); font-size: 20px; font-weight: 800; margin: 4px 0 0; }
.bt-tcard p  { color: #4a3b2b; font-size: 14.5px; line-height: 1.55; margin: 0; flex: 1; }
.bt-tcard .meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 0; }
.bt-tcard .meta span {
  background: var(--bw-cream); color: var(--bw-maroon); font-weight: 700; font-size: 12px;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--bw-cream-border);
}
.bt-tcard .cta { margin-top: 8px; }

/* ---------- Why / How-it-works cards (reuse cr-why style) ---------- */
.bt-why { background: linear-gradient(135deg, var(--bw-cream) 0%, #fff 60%); border: 1px solid var(--bw-cream-border);
  border-radius: 16px; padding: 32px 28px; box-shadow: 0 6px 20px rgba(122,26,26,.07); position: relative; overflow: hidden; }
.bt-why::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 6px;
  background: linear-gradient(180deg, var(--bw-maroon), var(--bw-gold), var(--bw-maroon)); }
.bt-why-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; }
.bt-why h2 { color: var(--bw-maroon); font-size: 24px; font-weight: 800; margin: 0 0 12px; display: flex; align-items: flex-start; gap: 12px; }
.bt-why h2 i { flex: none; width: 42px; height: 42px; background: var(--bw-maroon); color: var(--bw-gold-soft);
  border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
  box-shadow: inset 0 0 0 2px var(--bw-gold); }
.bt-why p { color: #3a3a3a; font-size: 15px; line-height: 1.7; margin: 0; }
.bt-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bt-chip { background: #fff; border: 1px solid var(--bw-cream-border); border-radius: 12px; padding: 16px 14px; text-align: center; }
.bt-chip .ic { width: 38px; height: 38px; margin: 0 auto 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bw-maroon), var(--bw-maroon-light));
  color: var(--bw-gold-soft); display: flex; align-items: center; justify-content: center; font-size: 16px;
  box-shadow: inset 0 0 0 2px var(--bw-gold); }
.bt-chip b { display: block; color: var(--bw-maroon); font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.bt-chip span { display: block; color: #5a5a5a; font-size: 12.5px; line-height: 1.4; }
@media (max-width: 820px) { .bt-why-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Steps ---------- */
.bt-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.bt-step {
  background: #fff; border: 1px solid var(--bw-cream-border); border-radius: 14px;
  padding: 22px 20px; text-align: center; position: relative;
}
.bt-step .num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bw-maroon); color: var(--bw-gold-soft); font-weight: 800;
  display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px var(--bw-gold);
}
.bt-step h4 { margin: 10px 0 6px; color: var(--bw-maroon); font-size: 16px; }
.bt-step p  { margin: 0; color: #555; font-size: 13.5px; line-height: 1.5; }

/* ---------- FAQ (classic details) ---------- */
.bt-faq details {
  background: #fff; border: 1px solid var(--bw-cream-border); border-radius: 12px;
  padding: 14px 18px; margin: 10px 0; transition: box-shadow .15s ease, border-color .15s ease;
}
.bt-faq details[open] { border-color: var(--bw-gold); box-shadow: 0 6px 16px rgba(122,26,26,.08); }
.bt-faq summary { cursor: pointer; font-weight: 700; color: var(--bw-maroon); font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bt-faq summary::-webkit-details-marker { display: none; }
.bt-faq summary::after { content: "+"; color: var(--bw-gold); font-size: 20px; font-weight: 800; }
.bt-faq details[open] summary::after { content: "–"; }
.bt-faq .ans { color: #3a3a3a; font-size: 14.5px; line-height: 1.7; margin-top: 10px; }

/* ---------- CTA band ---------- */
.bt-cta { background: linear-gradient(135deg, var(--bw-maroon-deep), var(--bw-maroon)); color: #fff; padding: 46px 20px; text-align: center; }
.bt-cta h2 { color: #fff; font-size: 26px; margin: 0 0 10px; }
.bt-cta p  { color: #f5e9c3; margin: 0 0 20px; }
.bt-cta .bt-heroBtns { margin-top: 6px; }

/* ---------- Wizard (career counselling) ---------- */
.bt-wizard { background: #fff; border: 1px solid var(--bw-cream-border); border-radius: 16px;
  box-shadow: 0 10px 28px rgba(122,26,26,.10); padding: 28px 24px; margin: 20px auto; max-width: 760px; }
.bt-wiz-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.bt-wiz-step { color: var(--bw-maroon); font-weight: 800; font-size: 14px; }
.bt-wiz-save { color: #6a5a3a; font-size: 12.5px; }
.bt-progress { background: #f3e9d3; border-radius: 999px; height: 8px; overflow: hidden; }
.bt-progress > span { display: block; height: 100%;
  background: linear-gradient(90deg, var(--bw-maroon), var(--bw-gold)); transition: width .35s ease; }
.bt-q { margin: 20px 0 10px; }
.bt-q h2 { color: var(--bw-maroon); font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.bt-q .hint { color: #6a5a3a; font-size: 13.5px; margin: 0 0 14px; }
.bt-input {
  width: 100%; padding: 14px 16px; font-size: 15px;
  border: 1.5px solid var(--bw-cream-border); border-radius: 10px; background: #fff; color: var(--bw-ink);
  box-sizing: border-box; transition: border-color .15s ease, box-shadow .15s ease;
}
.bt-input:focus { outline: none; border-color: var(--bw-gold); box-shadow: 0 0 0 3px rgba(201,162,74,.25); }
.bt-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 540px) { .bt-opts { grid-template-columns: 1fr; } }
.bt-opt {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border: 1.5px solid var(--bw-cream-border); border-radius: 10px; cursor: pointer;
  font-size: 14.5px; color: var(--bw-ink); background: #fff;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.bt-opt:hover { border-color: var(--bw-gold); background: var(--bw-cream); }
.bt-opt.active { border-color: var(--bw-maroon); background: var(--bw-cream); font-weight: 700; color: var(--bw-maroon); box-shadow: inset 0 0 0 1px var(--bw-maroon); }
.bt-opt input { accent-color: var(--bw-maroon); }
.bt-wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--bw-cream-border); }
.bt-link-btn { background: none; border: none; color: var(--bw-maroon); font-weight: 700; cursor: pointer; font-size: 14px; padding: 8px 10px; }
.bt-link-btn:hover { text-decoration: underline; }
.bt-err { color: #a01818; background: #fff4f4; border: 1px solid #f3cfcf; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; margin-top: 10px; display: none; }
.bt-err.show { display: block; }

/* ---------- Result cards ---------- */
.bt-result { max-width: 1000px; margin: 20px auto; }
.bt-result-head { text-align: center; margin-bottom: 24px; }
.bt-result-head h2 { color: var(--bw-maroon); font-size: 28px; margin: 0 0 8px; font-weight: 900; }
.bt-result-head p { color: #4a3b2b; font-size: 15.5px; line-height: 1.6; margin: 0 auto; max-width: 640px; }
.bt-match {
  background: #fff; border: 1px solid var(--bw-cream-border); border-radius: 16px;
  overflow: hidden; box-shadow: 0 10px 28px rgba(122,26,26,.10); margin: 18px 0;
}
.bt-match-top {
  display: grid; grid-template-columns: 320px 1fr; gap: 0;
}
@media (max-width: 720px) { .bt-match-top { grid-template-columns: 1fr; } }
.bt-match-img { background: var(--bw-cream); min-height: 220px; display: block; position: relative; }
.bt-match-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bt-match-tag {
  position: absolute; top: 14px; left: 14px; background: var(--bw-gold); color: var(--bw-maroon-deep);
  font-weight: 800; padding: 6px 12px; border-radius: 999px; font-size: 12.5px;
}
.bt-match-body { padding: 24px 24px 20px; }
.bt-match-body h3 { color: var(--bw-maroon); font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.bt-match-body .tag { color: #6a5a3a; font-size: 13.5px; margin: 0 0 12px; }
.bt-match-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.bt-match-meta span {
  background: var(--bw-cream); color: var(--bw-maroon); font-weight: 700; font-size: 12.5px;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--bw-cream-border);
}
.bt-why-list { margin: 10px 0 14px; padding: 0; list-style: none; }
.bt-why-list li {
  color: #3a3a3a; font-size: 14px; line-height: 1.6; margin: 6px 0;
  display: flex; gap: 8px; align-items: flex-start;
}
.bt-why-list li i { color: #1b7f3b; margin-top: 3px; flex: none; }
.bt-match-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.bt-match.second .bt-match-img { min-height: 180px; }
.bt-match.second { opacity: 1; }
.bt-match.third  { opacity: 1; }

/* ---------- Skill path ---------- */
.bt-skillpath { background: var(--bw-cream); border: 1px solid var(--bw-cream-border); border-radius: 14px; padding: 24px; margin: 22px 0; }
.bt-skillpath h3 { color: var(--bw-maroon); margin: 0 0 14px; font-size: 20px; }
.bt-skillpath ol { margin: 0; padding-left: 20px; counter-reset: step; list-style: none; }
.bt-skillpath li { position: relative; padding: 10px 0 10px 36px; color: #3a3a3a; font-size: 14.5px; line-height: 1.6; counter-increment: step; }
.bt-skillpath li::before {
  content: counter(step); position: absolute; left: 0; top: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--bw-maroon); color: var(--bw-gold-soft); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  box-shadow: inset 0 0 0 2px var(--bw-gold);
}

/* ---------- Counsellor contact card ---------- */
.bt-contact-card {
  background: linear-gradient(135deg, var(--bw-maroon-deep), var(--bw-maroon));
  color: #fff; border-radius: 16px; padding: 28px; margin: 22px 0;
}
.bt-contact-card h3 { color: #fdd63a; margin: 0 0 8px; font-size: 20px; }
.bt-contact-card p  { margin: 0 0 14px; color: #f5e9c3; font-size: 14.5px; line-height: 1.6; }
.bt-contact-card .row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Form (lead capture + resume + fee calc) ---------- */
.bt-form { display: grid; gap: 14px; }
.bt-form label { color: var(--bw-maroon); font-weight: 700; font-size: 13.5px; display: block; margin-bottom: 4px; }
.bt-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .bt-form .row2 { grid-template-columns: 1fr; } }
.bt-form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%237a1a1a' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 14px center / 10px 6px; padding-right: 36px; }

/* ---------- Resume builder preview ---------- */
.bt-rb-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .bt-rb-grid { grid-template-columns: 1fr; } }
.bt-rb-preview {
  background: #fff; border: 1px solid var(--bw-cream-border); border-radius: 12px;
  padding: 22px; min-height: 520px;
  font-family: Georgia, 'Times New Roman', serif; color: #222;
}
.bt-rb-preview h1 { color: var(--bw-maroon); font-size: 24px; margin: 0 0 2px; }
.bt-rb-preview .meta { color: #555; font-size: 13px; margin: 0 0 14px; border-bottom: 2px solid var(--bw-maroon); padding-bottom: 10px; }
.bt-rb-preview h2 { color: var(--bw-maroon); font-size: 15px; letter-spacing: .5px; text-transform: uppercase; margin: 14px 0 6px; border-bottom: 1px solid var(--bw-cream-border); padding-bottom: 4px; }
.bt-rb-preview p, .bt-rb-preview li { font-size: 13.5px; line-height: 1.6; margin: 4px 0; }
.bt-rb-preview .brand-footer { margin-top: 20px; border-top: 1px dashed #ccc; padding-top: 8px; color: #999; font-size: 11px; text-align: center; }

/* ---------- Fee calculator result box ---------- */
.bt-fee-result {
  background: #fff; border: 1px solid var(--bw-cream-border); border-radius: 14px;
  padding: 24px; box-shadow: 0 6px 18px rgba(122,26,26,.06);
}
.bt-fee-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--bw-cream-border); }
.bt-fee-row:last-child { border-bottom: none; }
.bt-fee-row .k { color: #4a3b2b; font-size: 14px; }
.bt-fee-row .v { color: var(--bw-maroon); font-weight: 800; font-size: 16px; }
.bt-fee-total { background: var(--bw-cream); border-radius: 10px; padding: 14px 16px; margin-top: 10px; }

/* ---------- Floating Call + WhatsApp dock (desktop + mobile) ---------- */
.bt-fab {
  position: fixed; right: 18px; bottom: 110px; z-index: 9999;
  display: flex; flex-direction: column; gap: 12px;
}
.bt-fab a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  color: #fff !important; text-decoration: none !important;
  font-size: 22px; box-shadow: 0 8px 22px rgba(0,0,0,.25);
  position: relative; transition: transform .2s ease;
}
.bt-fab a:hover { transform: scale(1.08); }
.bt-fab .bt-fab-call { background: #7a1a1a; }
.bt-fab .bt-fab-wa   { background: #25D366; }
.bt-fab a::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: btFabPulse 2s infinite; pointer-events: none;
}
.bt-fab .bt-fab-call::before { box-shadow: 0 0 0 0 rgba(122,26,26,.55); }
.bt-fab .bt-fab-wa::before   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation-delay: .8s; }
@keyframes btFabPulse {
  0%   { box-shadow: 0 0 0 0 rgba(122,26,26,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(122,26,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(122,26,26,0); }
}
@media (max-width: 640px) {
  .bt-fab { right: 12px; bottom: 90px; gap: 10px; }
  .bt-fab a { width: 50px; height: 50px; font-size: 20px; }
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 640px) {
  .bt-hero { padding: 48px 16px 44px; }
  .bt-wizard { padding: 22px 18px; margin: 14px 10px; }
  .bt-match-body { padding: 20px 18px 18px; }
  .bt-match-body h3 { font-size: 20px; }
  .bt-contact-card { padding: 22px 18px; }
  .bt-h2 { font-size: 22px; }
}
