/* =====================================================================
   Training page redesign (Views/Training/Training.cshtml): hero, tools strip, section shell, career, eligibility, projects.
   All new classes are prefixed tr-. Cyan to blue accent, light and dark ([data-bs-theme="dark"]).
   ===================================================================== */
/* tokens: ONE rail + ONE vertical rhythm + ONE tint pair shared by every section */
.tr-hero, .tr-sec, .tr-projects {
    --tr-rail: 1272px;
    --tr-sec: clamp(44px, 6vw, 80px);
    --tr-s0: #f5f8fa;
    --tr-s1: #eaf3f8;
    --tr-ink: #0f1b2d;
    --tr-body: #46566b;
    --tr-line: rgba(20, 90, 140, .18);
    --tr-card: #ffffff;
    --tr-a: #0891b2;
    --tr-b: #2563eb;
    --tr-glow: 8, 145, 178;
    --tr-bg: linear-gradient(180deg, #eef8fc 0%, #f5f8fa 100%);
    --bc-card: #ffffff; --bc-text: #0f172a; --bc-muted: #64748b; --bc-border: #e2e8f0; --bc-primary: #2563eb; --bc-secondary: #7c3aed;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
[data-bs-theme="dark"] .tr-hero, [data-bs-theme="dark"] .tr-sec, [data-bs-theme="dark"] .tr-projects {
    --tr-s0: #020817;
    --tr-s1: #071a2e;
    --tr-ink: #eef7ff;
    --tr-body: #b4c6d9;
    --tr-line: rgba(110, 190, 230, .22);
    --tr-card: rgba(9, 28, 50, .72);
    --tr-a: #22d3ee;
    --tr-b: #3b82f6;
    --tr-glow: 34, 211, 238;
    --tr-bg: linear-gradient(180deg, #06182c 0%, #020817 100%);
    --bc-card: #111827; --bc-text: #f8fafc; --bc-muted: #94a3b8; --bc-border: rgba(255,255,255,.08); --bc-primary: #60a5fa; --bc-secondary: #a78bfa;
}

/* ---------- hero ---------- */
.tr-hero { position: relative; isolation: isolate; background: var(--tr-bg); padding: clamp(24px, 4vw, 52px) 0 0; color: var(--tr-ink); overflow: hidden; }
.tr-hero *, .tr-hero *::before, .tr-hero *::after { box-sizing: border-box; }
.tr-wrap { width: 100%; max-width: var(--tr-rail); margin-inline: auto; padding-inline: 16px; }
.tr-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-bottom: clamp(26px, 4vw, 44px); }
.tr-hero__copy, .tr-hero__media { min-width: 0; }

.tr-pill { display: inline-flex; align-items: center; gap: 8px; padding: .45rem .95rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--tr-a); background: rgba(var(--tr-glow), .10); border: 1px solid rgba(var(--tr-glow), .28); }
.tr-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: tr-pulse 1.8s infinite; flex: none; display: inline-block; }
@keyframes tr-pulse { 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.tr-h1 { margin: 16px 0 12px; font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; color: var(--tr-ink); }
.tr-grad { background: linear-gradient(100deg, var(--tr-a), var(--tr-b)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tr-sub { margin: 0 0 18px; font-size: clamp(.95rem, 1.4vw, 1.1rem); line-height: 1.65; color: var(--tr-body); max-width: 56ch; }
.tr-sub p { margin: 0; }

.tr-ticks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.tr-ticks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: .95rem; color: var(--tr-ink); }
.tr-ticks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--tr-a), var(--tr-b)); }

.tr-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.tr-rating img { height: 34px; width: auto; }
.tr-stars { display: flex; gap: 2px; color: #f59e0b; }
.tr-stars svg { width: 16px; height: 16px; }
.tr-rating small { font-size: .85rem; color: var(--tr-body); }
.tr-rating small b { color: var(--tr-ink); }

.tr-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.tr-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 999px; font: 700 .92rem/1 'Plus Jakarta Sans', system-ui, sans-serif; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, background .2s, color .2s, border-color .2s; }
.tr-btn--main { padding: 0 22px 0 6px; color: #fff; background: linear-gradient(135deg, #06b6d4, #3b82f6); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 14px 24px -14px rgba(8, 145, 178, .75); }
.tr-btn--main:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 18px 28px -14px rgba(37, 99, 235, .75); }
.tr-btn__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .22); font-size: .95rem; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.tr-btn--main:hover .tr-btn__ic { transform: rotate(45deg); }
.tr-btn--ghost { color: var(--tr-ink); background: var(--tr-card); border: 1px solid var(--tr-line); backdrop-filter: blur(8px); }
.tr-btn--ghost i { font-size: .95rem; color: var(--tr-a); transition: transform .25s; }
.tr-btn--ghost:hover { color: var(--tr-a); border-color: var(--tr-a); transform: translateY(-2px); }
.tr-btn--ghost:hover i { transform: translateX(3px); }
[data-bs-theme="dark"] .tr-btn--main { color: #06223a; background: #eef7ff; box-shadow: 0 12px 26px -14px rgba(15, 27, 45, .6); }
[data-bs-theme="dark"] .tr-btn--main:hover { color: #06223a; }
[data-bs-theme="dark"] .tr-btn__ic { color: #04233a; background: linear-gradient(135deg, #2fb8d6, #3b82f6); }
.tr-btn:focus-visible, .tr-video:focus-visible { outline: 3px solid rgba(var(--tr-glow), .5); outline-offset: 3px; }

/* right column: tabs + fixed-height panel + stat tiles (same height for every tab so nothing jumps) */
.tr-hero__media { position: relative; width: 100%; display: grid; gap: 14px; align-content: center; }
.tr-glow { position: absolute; inset: 4% 2%; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, rgba(var(--tr-glow), .30), transparent 72%); filter: blur(28px); }
.tr-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-tab { height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--tr-line); background: var(--tr-card); color: var(--tr-body); font: 700 .85rem/1 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tr-tab:hover { color: var(--tr-ink); border-color: var(--tr-a); }
.tr-tab[aria-selected="true"] { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--tr-a), var(--tr-b)); }
.tr-tab:focus-visible { outline: 3px solid rgba(var(--tr-glow), .5); outline-offset: 2px; }
.tr-panel { display: grid; aspect-ratio: 2 / 1; border-radius: 22px; overflow: hidden; background: var(--tr-card); border: 1px solid var(--tr-line); box-shadow: 0 24px 50px -28px rgba(var(--tr-glow), .55), 0 4px 14px rgba(15, 27, 45, .10); }
.tr-pane { min-height: 0; overflow: auto; }
.tr-pane:has(> .tr-video) { overflow: hidden; }
.tr-pane[hidden] { display: none; }
.tr-video { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #0b1b2e; }
.tr-video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.tr-video.videoBtn { cursor: pointer; max-width: none; width: 100%; }
.tr-video.videoBtn:hover img { transform: scale(1.04); }
.tr-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(2, 8, 23, .5)); pointer-events: none; }
.tr-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--tr-a), var(--tr-b)); box-shadow: 0 0 0 8px rgba(255, 255, 255, .22), 0 12px 30px rgba(0, 0, 0, .35); transition: transform .2s; }
.tr-play svg { width: 24px; height: 24px; margin-left: 3px; }
.tr-video:hover .tr-play { transform: scale(1.08); }
.tr-vtext { position: absolute; z-index: 2; left: 14px; bottom: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(2, 8, 23, .6); color: #fff; font-size: .74rem; font-weight: 700; backdrop-filter: blur(6px); }
/* roadmap */
.tr-road { list-style: none; margin: 0; padding: 18px; height: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.tr-road li { display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--tr-line); background: rgba(var(--tr-glow), .05); font-weight: 700; font-size: .95rem; color: var(--tr-ink); }
.tr-road li:last-child { grid-column: 1 / -1; }
.tr-road b { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #fff; font-size: .95rem; background: linear-gradient(135deg, var(--tr-a), var(--tr-b)); }
/* projects */
.tr-projs { height: 100%; padding: 14px; display: grid; grid-auto-rows: 1fr; gap: 12px; }
.tr-proj { min-height: 0; overflow: hidden; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--tr-line); background: rgba(var(--tr-glow), .05); }
.tr-proj h3 { margin: 0; font-size: 1rem; font-weight: 800; color: var(--tr-ink); }
.tr-proj em { display: block; margin: 2px 0 4px; font-style: normal; font-size: .76rem; font-weight: 700; color: var(--tr-a); }
.tr-proj p { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--tr-body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* stat tiles */
.tr-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tr-stat { display: grid; gap: 2px; justify-items: center; padding: 12px 8px; border-radius: 16px; text-align: center; background: var(--tr-card); border: 1px solid var(--tr-line); backdrop-filter: blur(10px); box-shadow: 0 10px 24px -18px rgba(var(--tr-glow), .6); }
.tr-stat b { font-size: 1.5rem; line-height: 1.1; font-weight: 800; background: linear-gradient(100deg, var(--tr-a), var(--tr-b)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tr-stat span { font-size: .76rem; font-weight: 600; color: var(--tr-body); }
[data-bs-theme="dark"] .tr-panel { background: #0b1626; }
[data-bs-theme="dark"] .tr-tab[aria-selected="true"] { color: #06223a; background: #eef7ff; }

/* ---------- tools strip (attached under the hero, like the Java bootcamp alumni strip) ---------- */
.tr-strip { border-top: 1px solid var(--tr-line); background: color-mix(in srgb, var(--tr-card) 55%, transparent); }
.tr-strip__in { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: center; gap: 28px; padding-block: 18px; }
.tr-strip__lead { display: grid; gap: 2px; padding-right: 28px; border-right: 1px solid var(--tr-line); }
.tr-strip__lead strong { font-size: 1.05rem; font-weight: 800; color: var(--tr-ink); line-height: 1.3; letter-spacing: -.01em; }
.tr-strip__lead em { font-style: normal; color: var(--tr-b); }
.tr-strip__lead small { color: var(--tr-body); font-size: .82rem; }
.tr-marquee { --g: clamp(12px, 2vw, 22px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tr-marquee__track { display: flex; width: max-content; animation: tr-scroll 40s linear infinite; }
.tr-marquee:hover .tr-marquee__track { animation-play-state: paused; }
.tr-marquee__group { display: flex; align-items: center; gap: var(--g); padding: 0 var(--g) 0 0; margin: 0; list-style: none; flex: none; }
.tr-marquee__group li { display: flex; align-items: center; gap: 8px; padding: 0; font-size: .85rem; font-weight: 700; color: var(--tr-ink); white-space: nowrap; }
.tr-marquee__group img { height: 24px; width: auto; max-width: none; display: block; }
@keyframes tr-scroll { to { transform: translateX(-50%); } }
[data-bs-theme="dark"] .tr-marquee__group li { padding: 4px 12px; border-radius: 8px; background: #fff; color: #0f1b2d; }

/* ---------- sections: one rail, one rhythm, one heading, one tint ---------- */
.tr-sec { background: var(--tr-s0); padding-block: var(--tr-sec); color: var(--tr-ink); }
.tr-sec--alt { background: var(--tr-s1); }
.tr-sec *, .tr-sec *::before, .tr-sec *::after { box-sizing: border-box; }
.tr-head { max-width: 720px; margin: 0 auto clamp(24px, 4vw, 40px); text-align: center; }
.tr-eyebrow { display: inline-block; margin-bottom: 10px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tr-a); }
.tr-sec .tr-h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--tr-ink); }
.tr-lead { margin: 10px auto 0; font-size: clamp(.92rem, 1.4vw, 1rem); line-height: 1.6; color: var(--tr-body); }
/* admin HTML written for the old narrow shell: let it use the full rail */
.tr-body { min-width: 0; }
.tr-body > br:first-child { display: none; }
.tr-sec .col-lg-10 { width: 100%; max-width: 100%; flex: 0 0 100%; }
.tr-sec .mt-5, .tr-sec .career-growth-section { margin-top: 0 !important; }
.tr-sec .container { max-width: none; padding-inline: 0; }
@media (min-width: 769px) { #projectsTrack { margin-inline: -12px; } }

/* ---------- career: the CourseDetails tab UI (career-tab.css); only fitted to this page's rail ---------- */
.tr-k-career .tr-body > .row { margin: 0; }
.tr-k-career .content-career { margin-top: 28px; }
.tr-k-career .tab-active { color: var(--tr-b); border-bottom-color: var(--tr-b); }
[data-bs-theme="dark"] .tr-k-career .tab-active { color: #60a5fa; border-bottom-color: #60a5fa; }
[data-bs-theme="dark"] .tr-k-career .content-career-box { border-color: var(--tr-line); background: var(--tr-card); }
[data-bs-theme="dark"] .tr-k-career #salary-box, [data-bs-theme="dark"] .tr-k-career #demand-box, [data-bs-theme="dark"] .tr-k-career .salary-chart, [data-bs-theme="dark"] .tr-k-career #tabbar { background: transparent; }

/* ---------- eligibility (.tre): four compact cards, 2x2 (1 column on phones) ---------- */
.tre { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.tre-card { --ci: #3b82f6; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--tr-line); box-shadow: 0 8px 24px -16px rgba(15, 27, 45, .28); transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.tre-card:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -16px rgba(15, 27, 45, .34); }
.tre-card.c2 { --ci: #8b5cf6; } .tre-card.c3 { --ci: #f97316; } .tre-card.c4 { --ci: #22c55e; }
.tre-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tre-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--ci); background: color-mix(in srgb, var(--ci) 12%, transparent); }
.tre-ic svg { width: 19px; height: 19px; }
.tre-chip { padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; color: #64748b; background: #eef1f5; }
.tre-card h4 { margin: 4px 0 0; font-size: 1rem; line-height: 1.3; font-weight: 800; color: var(--tr-ink); }
.tre-card p { margin: 0; font-size: .84rem; line-height: 1.5; color: var(--tr-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tre-foot { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 6px; font-size: .76rem; font-weight: 600; color: #94a3b8; }
.tre-foot svg { flex: none; width: 15px; height: 15px; }
[data-bs-theme="dark"] .tre-card { background: #14202e; box-shadow: 0 10px 26px -18px rgba(0, 0, 0, .7); }
[data-bs-theme="dark"] .tre-chip { color: #b4c6d9; background: rgba(255, 255, 255, .08); }
[data-bs-theme="dark"] .tre-foot { color: #8aa0b8; }
@media (max-width: 575.98px) { .tre { grid-template-columns: minmax(0, 1fr); } }

/* ---------- projects ---------- */
.tr-projects .project-image { border-radius: 12px; }
.tr-projects .project-image { height: auto; aspect-ratio: 1959 / 803; border: 1px solid var(--tr-line); }
.tr-projects .project-image img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .tr-hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .tr-strip__in { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .tr-strip__lead { padding: 0; border: 0; }
    .tr-ctas .tr-btn { flex: 1 1 auto; }
    .tr-play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
}
@media (prefers-reduced-motion: reduce) {
    .tr-marquee__track, .tr-dot { animation: none; }
    .tr-marquee { overflow-x: auto; }
    .tr-btn, .tr-tab, .tr-video img, .tr-play, .tre-card { transition: none; }
    .tre-card:hover { transform: none; }
}

/* ---------- project cards (carried over from boot-camp.css so this page does not need that whole sheet) ---------- */
/* 
  PROJECT CARDS
 */
.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: .9rem 0 1rem;
}

.project-tech-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: -.1px;
  border: 1px solid transparent;
  transition: all .25s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  line-height: 1;
}

/* COLORS */

.dotnet-pill {
  background: rgba(124,58,237,.10);
  color: #6d28d9;
  border-color: rgba(124,58,237,.18);
}

.azure-pill {
  background: rgba(14,165,233,.10);
  color: #0284c7;
  border-color: rgba(14,165,233,.18);
}

.angular-pill {
  background: rgba(239,68,68,.10);
  color: #dc2626;
  border-color: rgba(239,68,68,.18);
}

.react-pill {
  background: rgba(34,211,238,.10);
  color: #0891b2;
  border-color: rgba(34,211,238,.18);
}

.bootstrap-pill {
  background: rgba(139,92,246,.10);
  color: #7c3aed;
  border-color: rgba(139,92,246,.18);
}

.api-pill {
  background: rgba(16,185,129,.10);
  color: #059669;
  border-color: rgba(16,185,129,.18);
}

.mvc-pill {
  background: rgba(99,102,241,.10);
  color: #4f46e5;
  border-color: rgba(99,102,241,.18);
}

.jwt-pill {
  background: rgba(245,158,11,.10);
  color: #d97706;
  border-color: rgba(245,158,11,.18);
}

.git-pill {
  background: rgba(249,115,22,.10);
  color: #ea580c;
  border-color: rgba(249,115,22,.18);
}


.cicd-pill,
.lazy-pill {
  background: rgba(100,116,139,.10);
  color: #475569;
  border-color: rgba(100,116,139,.18);
}
.ml-pill {
  background: rgba(236,72,153,.10);
  color: #db2777;
  border-color: rgba(236,72,153,.18);
}

.sql-pill {
  background: rgba(59,130,246,.10);
  color: #2563eb;
  border-color: rgba(59,130,246,.18);
}

/* Hover */

.bootcamp-project-card:hover .project-tech-pill {
  transform: translateY(-2px);
}

/* Dark mode */

[data-bs-theme="dark"] .project-tech-pill {
  filter: brightness(1.08);
}
.dotnet-pill {
    background: rgba(124,58,237,.10);
    color: #6d28d9;
    border-color: rgba(124,58,237,.18)
}

.azure-pill {
    background: rgba(14,165,233,.10);
    color: #0284c7;
    border-color: rgba(14,165,233,.18)
}

.angular-pill {
    background: rgba(239,68,68,.10);
    color: #dc2626;
    border-color: rgba(239,68,68,.18)
}

.react-pill {
    background: rgba(34,211,238,.10);
    color: #0891b2;
    border-color: rgba(34,211,238,.18)
}

.bootstrap-pill {
    background: rgba(139,92,246,.10);
    color: #7c3aed;
    border-color: rgba(139,92,246,.18)
}

.api-pill {
    background: rgba(16,185,129,.10);
    color: #059669;
    border-color: rgba(16,185,129,.18)
}

.mvc-pill {
    background: rgba(99,102,241,.10);
    color: #4f46e5;
    border-color: rgba(99,102,241,.18)
}

.jwt-pill {
    background: rgba(245,158,11,.10);
    color: #d97706;
    border-color: rgba(245,158,11,.18)
}

.git-pill {
    background: rgba(249,115,22,.10);
    color: #ea580c;
    border-color: rgba(249,115,22,.18)
}

.cicd-pill, .lazy-pill {
    background: rgba(100,116,139,.10);
    color: #475569;
    border-color: rgba(100,116,139,.18)
}

.ml-pill {
    background: rgba(236,72,153,.10);
    color: #db2777;
    border-color: rgba(236,72,153,.18)
}

.sql-pill {
    background: rgba(59,130,246,.10);
    color: #2563eb;
    border-color: rgba(59,130,246,.18)
}

.bootcamp-project-card:hover .project-tech-pill {
    transform: translateY(-2px)
}

[data-bs-theme="dark"] .project-tech-pill {
    filter: brightness(1.08)
}

.bootcamp-project-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.4rem;
    height: 100%;
    transition: transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s ease;
    background: var(--bc-card);
    border: 1px solid rgba(148,163,184,.16);
    box-shadow: 0 10px 25px rgba(15,23,42,.06);
    min-height: 380px
}

.project-card-shine {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(120deg,transparent 40%,rgba(255,255,255,.65) 50%,transparent 60%);
    transition: opacity .35s ease;
    z-index: 2
}

.project-card-glow {
    position: absolute;
    inset: -40px;
    opacity: 0;
    background: radial-gradient(circle at 50% 0%,rgba(34,211,238,.18),transparent 65%);
    transition: opacity .4s ease;
    z-index: 1
}

.project-card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.2rem
}

.learning-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    background: rgba(34,211,238,.10);
    border: 1px solid rgba(34,211,238,.20);
    color: #22c7d8
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg,#10b981,#059669);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .38rem .7rem;
    border-radius: 999px;
    opacity: 0;
    transform: scale(.85);
    transition: .35s ease;
    z-index: 5
}

.project-image {
    border-radius: 7px;
    overflow: hidden;
    background: linear-gradient(145deg,rgba(34,211,238,.08),rgba(124,58,237,.08));
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .4s ease,box-shadow .35s ease
}

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: contain
    }

.project-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--bc-text);
    margin-top: 1rem;
    margin-bottom: .6rem;
    transition: .3s ease
}

.project-card-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(34,211,238,.10);
    color: var(--bc-primary);
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: .9rem
}

.project-card-description {
    color: var(--bc-muted);
    line-height: 1.7;
    font-size: .95rem;
    margin-bottom: 0
}

.bootcamp-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(15,23,42,.10);
    border-color: rgba(34,211,238,.20)
}

    .bootcamp-project-card:hover .project-card-shine {
        opacity: 1;
        animation: bootcampShine 2.5s linear infinite
    }

    .bootcamp-project-card:hover .project-card-glow {
        opacity: 1
    }

    .bootcamp-project-card:hover .project-badge {
        opacity: 1;
        transform: scale(1)
    }

    .bootcamp-project-card:hover .project-image {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 15px 25px rgba(15,23,42,.10)
    }

    .bootcamp-project-card:hover .project-card-title {
        color: var(--bc-primary);
        transform: translateX(2px)
    }

[data-bs-theme="dark"] .bootcamp-project-card {
    background: linear-gradient(160deg,rgba(15,23,42,.96),rgba(2,8,23,.98));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 25px rgba(0,0,0,.30)
}

[data-bs-theme="dark"] .project-card-shine {
    background: linear-gradient(120deg,transparent 40%,rgba(255,255,255,.12) 50%,transparent 60%)
}

@keyframes bootcampShine {
    from {
        transform: translateX(-160%)
    }

    to {
        transform: translateX(220%)
    }
}
#projectsTrack .proj-slide { 
    margin-bottom:1rem;
}
/* ── DESKTOP: untouched ── */
@media(min-width:769px) {
    .project-image {
        height: 190px
    }

    .slider-dots, .slider-arrows {
        display: none !important
    }
    /* restore bootstrap row behaviour */
    #projectsTrack {
        display: flex !important;
        flex-wrap: wrap !important;
        transform: none !important;
    }

        #projectsTrack .proj-slide {
            flex: 0 0 50%;
            max-width: 50%;
            padding: 0 12px;
            box-sizing: border-box;
        }
}

/* ── MOBILE SLIDER ── */
@media(max-width:768px) {
    .projects-slider-wrapper {
        overflow: hidden;
        padding-bottom: 1.5rem;
        /* cancel any col padding from parent */
        padding-left: 0;
        padding-right: 0;
    }

    #projectsTrack {
        display: flex !important;
        flex-wrap: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
        transition: transform .38s cubic-bezier(.16,1,.3,1);
        will-change: transform;
    }

        #projectsTrack .proj-slide {
            flex: 0 0 100%;
            width: 100%;
            min-width: 100%;
            max-width: 100%;
            padding: 0 1rem;
            box-sizing: border-box;
        }

    .bootcamp-project-card {
        min-height: auto
    }

    .project-image {
        height: 170px
    }

    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 1rem
    }

    .slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(148,163,184,.35);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background .25s,transform .25s
    }

        .slider-dot.active {
            background: var(--bc-primary,#22c7d8);
            transform: scale(1.4)
        }

    .slider-arrows {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: .75rem
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(34,211,238,.10);
        border: 1px solid rgba(34,211,238,.25);
        color: var(--bc-primary,#22c7d8);
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background .2s,opacity .2s
    }

        .slider-arrow:disabled {
            opacity: .3;
            cursor: default
        }

        .slider-arrow:not(:disabled):hover {
            background: rgba(34,211,238,.2)
        }
}

/* ---------- certification: Q&A on the left, certificate card on the right (compact) ---------- */
.cert-card { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cert-body { min-width: 0; display: grid; gap: 8px; }
.cert-body .panel-group, .cert-body .accordion_panel { margin: 0; padding: 0; }
.cert-body .accordion_panel { border: 1px solid var(--tr-line); border-radius: 14px; background: var(--tr-card); overflow: hidden; }
.cert-body .accordion_panelbox { margin: 0; padding: 0; }
.cert-body .accordion_title { margin: 0; padding: 12px 16px; cursor: pointer; }
.cert-body .accordion_title h3 { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .92rem; line-height: 1.4; font-weight: 700; color: var(--tr-ink); }
.cert-body .accordion_title h3::after { content: ""; flex: none; width: 8px; height: 8px; border: solid var(--tr-body); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.cert-body .accordion_title i { display: none; }
.cert-body .accordion_panel.is-open .accordion_title h3::after { transform: rotate(-135deg); }
.cert-body .accordion_content { display: none !important; padding: 0 16px 14px; }
.cert-body .accordion_panel.is-open .accordion_content { display: block !important; }
.cert-body .accordion_content .col-lg-12 { padding: 0; width: auto; float: none; }
.cert-body .accordion_content p { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--tr-body); }
.cert-figure { position: relative; margin: 0; padding: 14px; border: 1px solid var(--tr-line); border-radius: 18px; background: var(--tr-card); box-shadow: 0 14px 30px -22px rgba(var(--tr-glow), .6); }
.cert-figure img { display: block; width: 100%; height: auto; max-height: 230px; object-fit: contain; border-radius: 8px; }
.cert-chip { position: absolute; z-index: 1; top: 22px; left: 22px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #16a34a; color: #fff; font-size: .7rem; font-weight: 700; }
.cert-chip svg { width: 12px; height: 12px; }
@media (max-width: 767.98px) { .cert-card { grid-template-columns: minmax(0, 1fr); } .cert-figure img { max-height: 200px; } }


/* ---------- compact scale: smaller type, tighter rhythm between sections ---------- */
:root { --tr-sec: clamp(26px, 3.2vw, 40px); }
.tr-hero { padding-top: clamp(18px, 2.6vw, 34px); }
.tr-h1 { margin: 12px 0 10px; font-size: clamp(1.65rem, 3.3vw, 2.6rem); }
.tr-sub { margin-bottom: 14px; font-size: clamp(.9rem, 1.2vw, 1rem); line-height: 1.6; }
.tr-hero__grid { padding-bottom: clamp(18px, 2.6vw, 28px); }
.tr-strip__in { padding-block: 12px; }
.tr-head { margin-bottom: clamp(14px, 2vw, 22px); }
.tr-sec .tr-h2 { font-size: clamp(1.25rem, 2.3vw, 1.7rem); }
.tr-lead { margin-top: 6px; font-size: .9rem; line-height: 1.55; }
.tr-body { font-size: .92rem; }
.tr-body p, .tr-body li { font-size: inherit; line-height: 1.6; }
.tr-sec .mb-5, .tr-sec .my-5, .tr-sec .py-5, .tr-sec .pb-5 { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.tr-sec .mt-5, .tr-sec .my-5, .tr-sec .pt-5 { margin-top: 0 !important; padding-top: 0 !important; }

/* ---------- scroll interactivity (only when JS marked the page) ---------- */
.tr-sec { position: relative; }
.tr-js .tr-sec .tr-head, .tr-js .tr-sec .tr-body, .tr-js .tr-sec > .tr-wrap > :not(.tr-head):not(.tr-body) { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.tr-js .tr-sec .tr-body, .tr-js .tr-sec > .tr-wrap > :not(.tr-head):not(.tr-body) { transition-delay: .12s; }
.tr-js .tr-sec.is-in .tr-head, .tr-js .tr-sec.is-in .tr-body, .tr-js .tr-sec.is-in > .tr-wrap > :not(.tr-head):not(.tr-body) { opacity: 1; transform: none; }
.tr-progress { position: fixed; z-index: 1100; top: 0; left: 0; right: 0; height: 3px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--tr-a), var(--tr-b)); pointer-events: none; }
