/* H:\apps\The Career DB New\style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary-hue: 220;
  --blue: hsl(var(--primary-hue), 85%, 45%);
  --blue-light: hsl(var(--primary-hue), 100%, 97%);
  --blue-mid: hsl(var(--primary-hue), 80%, 55%);
  --teal: hsl(165, 80%, 35%);
  --teal-light: hsl(165, 80%, 96%);
  --teal-mid: hsl(165, 75%, 45%);
  --amber: hsl(38, 90%, 40%);
  --amber-light: hsl(38, 100%, 97%);
  --coral: hsl(5, 75%, 45%);
  --coral-light: hsl(5, 100%, 97%);
  --gray: hsl(220, 12%, 25%);
  --gray-light: hsl(220, 15%, 96%);
  --gray-mid: hsl(220, 10%, 60%);
  --text: hsl(220, 35%, 12%);
  --text-muted: hsl(220, 15%, 40%);
  --text-hint: hsl(220, 10%, 55%);
  --border: hsl(220, 20%, 93%);
  --surface: #ffffff;
  --page-bg: hsl(220, 25%, 98%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 30px rgba(24, 50, 90, 0.04);
  --shadow-hover: 0 16px 45px rgba(24, 50, 90, 0.08);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { 
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
  background: var(--page-bg); 
  color: var(--text); 
  font-size: 16.5px; 
  line-height: 1.65; 
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--blue-mid); }
img { max-width: 100%; height: auto; }

/* NAVIGATION & HEADER */
.nav { 
  background: rgba(255, 255, 255, 0.85); 
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); 
  padding: 0 5%; 
  display: flex; 
  align-items: center; 
  gap: 2rem; 
  height: 70px; 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  box-shadow: 0 4px 20px rgba(0,0,0,0.01); 
}
.nav .logo { 
  display: flex; 
  align-items: center; 
}
.nav .logo img {
  height: 38px;
  width: auto;
  transition: transform 0.2s ease;
}
.nav .logo img:hover {
  transform: scale(1.02);
}
.nav-links { 
  display: flex; 
  gap: 2rem; 
  margin-left: auto; 
  align-items: center; 
}
.nav-links a { 
  font-size: 14.5px; 
  font-weight: 600; 
  color: var(--text-muted); 
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* BREADCRUMB */
.breadcrumb { 
  padding: 1rem 5%; 
  font-size: 13px; 
  font-weight: 500;
  color: var(--text-hint); 
  background: #ffffff; 
  border-bottom: 1px solid var(--border); 
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 10px; color: var(--border); font-size: 11px; }

/* HERO SECTION */
.hero { 
  background: linear-gradient(180deg, #ffffff 0%, hsl(var(--primary-hue), 25%, 97%) 100%); 
  border-bottom: 1px solid var(--border); 
  padding: 4.5rem 5% 4rem; 
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-top { 
  display: flex; 
  align-items: center; 
  gap: 1.5rem; 
  text-align: left;
  width: 100%;
  max-width: 1100px;
}
.hero-icon { 
  width: 72px; 
  height: 72px; 
  background: var(--blue-light); 
  border-radius: 20px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 36px; 
  flex-shrink: 0; 
  box-shadow: inset 0 0 0 1px rgba(24, 95, 165, 0.08), var(--shadow); 
}
.profession-type { 
  font-size: 12px; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 1.5px; 
  color: var(--blue); 
  margin-bottom: 6px; 
}
.hero h1 { 
  font-size: clamp(30px, 5vw, 44px); 
  font-weight: 800; 
  letter-spacing: -1.2px; 
  color: var(--text); 
  line-height: 1.15; 
}
.hero-summary { 
  margin-top: 1.2rem; 
  font-size: 17px; 
  color: var(--text-muted); 
  max-width: 760px; 
  line-height: 1.7; 
}

/* QUICK STATS */
.quick-stats { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
  gap: 20px; 
  margin-top: 3rem; 
  width: 100%;
  max-width: 1100px;
}
.stat-card { 
  background: var(--surface); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 1.5rem; 
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease; 
}
.stat-card:hover { 
  transform: translateY(-3px); 
  box-shadow: var(--shadow-hover); 
}
.stat-label { 
  font-size: 11px; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  color: var(--text-hint); 
  margin-bottom: 8px; 
  font-weight: 700; 
}
.stat-value { 
  font-size: 26px; 
  font-weight: 800; 
  color: var(--text); 
  letter-spacing: -0.7px; 
}
.stat-sub { 
  font-size: 12.5px; 
  color: var(--text-muted); 
  margin-top: 6px; 
}
.stat-card.highlight { 
  background: linear-gradient(135deg, var(--blue-light) 0%, hsl(var(--primary-hue), 100%, 94%) 100%); 
  border-color: var(--blue-mid); 
}
.stat-card.highlight .stat-value { color: var(--blue); }

/* LAYOUT */
.layout { 
  display: grid; 
  grid-template-columns: 1fr 360px; 
  gap: 3rem; 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 3rem 5%; 
}
.main { min-width: 0; }
.sidebar { min-width: 0; }

.table-scroll { 
  overflow-x: auto; 
  margin: 1.5rem 0; 
  border: 1px solid var(--border); 
  border-radius: var(--radius-sm); 
  background: var(--surface);
}
.two-col { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 2.5rem; 
}
.two-col > div { min-width: 0; }

/* SECTION CARD */
.section { 
  background: var(--surface); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 2.5rem; 
  margin-bottom: 2.5rem; 
  box-shadow: var(--shadow); 
}
.section-title { 
  font-size: 22px; 
  font-weight: 800; 
  letter-spacing: -0.5px; 
  color: var(--text); 
  margin-bottom: 1.8rem; 
  padding-bottom: 1rem; 
  border-bottom: 1px solid var(--border); 
  display: flex; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 12px; 
}
.section-title .tag { 
  font-size: 10px; 
  font-weight: 700; 
  background: var(--teal-light); 
  color: var(--teal); 
  padding: 4px 12px; 
  border-radius: 30px; 
  text-transform: uppercase; 
  letter-spacing: 0.8px; 
}

/* ANSWER CALLOUT */
.answer-box { 
  background: var(--blue-light); 
  border-left: 5px solid var(--blue); 
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; 
  padding: 1.5rem 1.8rem; 
  margin-bottom: 2rem; 
}
.answer-box p { font-size: 15.5px; color: var(--text); line-height: 1.7; }

/* SALARY PROGRESS BAR WIDGETS */
.salary-row { 
  display: flex; 
  align-items: center; 
  gap: 20px; 
  margin-bottom: 1.25rem; 
  flex-wrap: wrap; 
  padding: 8px 0; 
  border-bottom: 1px solid rgba(0,0,0,0.02);
}
.salary-row:last-child { border-bottom: none; }
.salary-loc { 
  font-size: 14.5px; 
  font-weight: 700; 
  color: var(--text); 
  min-width: 170px; 
  flex-shrink: 0; 
}
.salary-bar-wrap { 
  flex: 1 1 150px; 
  background: var(--gray-light); 
  border-radius: 10px; 
  height: 16px; 
  overflow: hidden; 
  min-width: 120px; 
}
.salary-bar { 
  height: 100%; 
  border-radius: 10px; 
  background: linear-gradient(90deg, var(--blue-mid) 0%, #3ca0f0 100%); 
}
.salary-amt { 
  font-size: 15.5px; 
  font-weight: 800; 
  color: var(--blue); 
  min-width: 100px; 
  text-align: right; 
  flex-shrink: 0; 
}

/* SKILL & CERT TAGS */
.skill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag { 
  font-size: 13.5px; 
  padding: 8px 16px; 
  border-radius: 30px; 
  border: 1px solid var(--border); 
  background: var(--surface); 
  color: var(--text-muted); 
  font-weight: 600; 
  display: inline-block; 
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
}
.skill-tag:hover { 
  border-color: var(--blue-mid); 
  color: var(--blue); 
  background: var(--blue-light); 
  transform: translateY(-2px); 
  box-shadow: 0 4px 12px rgba(24, 95, 165, 0.06);
}
.skill-tag.core { background: var(--blue-light); border-color: var(--blue-mid); color: var(--blue); }
.skill-tag.soft { background: var(--teal-light); border-color: var(--teal-mid); color: var(--teal); }

/* CAREER ROADMAP PROGRESSION */
.path-steps { display: flex; flex-direction: column; gap: 0; margin-top: 1.5rem; }
.path-step { display: flex; gap: 2rem; }
.path-line { display: flex; flex-direction: column; align-items: center; }
.path-dot { 
  width: 20px; 
  height: 20px; 
  border-radius: 50%; 
  background: var(--blue-mid); 
  border: 4px solid var(--blue-light); 
  flex-shrink: 0; 
  margin-top: 6px; 
  box-shadow: 0 0 0 3px rgba(0,0,0,0.02); 
}
.path-dot.current { 
  background: var(--teal-mid); 
  border-color: var(--teal-light); 
  width: 24px; 
  height: 24px; 
  margin-top: 4px; 
}
.path-connector { width: 3px; flex: 1; background: var(--border); min-height: 50px; }
.path-content { padding-bottom: 2.5rem; }
.path-title { font-size: 17px; font-weight: 800; color: var(--text); }
.path-salary { font-size: 14.5px; color: var(--blue); font-weight: 700; margin-top: 4px; }
.path-yoe { font-size: 13px; color: var(--text-hint); margin-top: 2px; }

/* FAQ ACCORDIONS */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 16.5px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.faq-a { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; }

/* SIDEBAR WIDGETS */
.side-card { 
  background: var(--surface); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 1.8rem; 
  margin-bottom: 2rem; 
  box-shadow: var(--shadow); 
}
.side-title { 
  font-size: 14px; 
  font-weight: 800; 
  color: var(--text); 
  margin-bottom: 1.5rem; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  border-bottom: 2px solid var(--page-bg); 
  padding-bottom: 10px; 
}
.side-link { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 12px 0; 
  border-bottom: 1px solid var(--page-bg); 
  font-size: 14px; 
  color: var(--blue); 
  font-weight: 600; 
}
.side-link:last-child { border-bottom: none; }
.side-link:hover { color: var(--teal); transform: translateX(3px); }
.side-link .arrow { color: var(--text-hint); transition: transform 0.2s ease; }
.side-link:hover .arrow { transform: translateX(2px); }

.top-company { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 12px 0; 
  border-bottom: 1px solid var(--page-bg); 
}
.top-company:last-child { border-bottom: none; }
.co-name { font-size: 14px; font-weight: 700; color: var(--text); }
.co-salary { font-size: 14.5px; color: var(--teal); font-weight: 800; }
.co-jobs { font-size: 11.5px; color: var(--text-hint); margin-top: 2px; }

.cert-badge { 
  display: flex; 
  align-items: center; 
  gap: 14px; 
  padding: 12px 0; 
  border-bottom: 1px solid var(--page-bg); 
}
.cert-badge:last-child { border-bottom: none; }
.cert-icon { 
  width: 42px; 
  height: 42px; 
  border-radius: var(--radius-sm); 
  background: var(--amber-light); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 13px; 
  font-weight: 800; 
  color: var(--amber); 
  flex-shrink: 0; 
  border: 1px solid rgba(186, 117, 23, 0.12); 
}
.cert-name { font-size: 14px; font-weight: 700; color: var(--text); }
.cert-boost { font-size: 12px; color: var(--teal); font-weight: 600; margin-top: 2px; }

/* DATA TABLES */
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { 
  text-align: left; 
  font-weight: 700; 
  font-size: 12px; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  color: var(--text-hint); 
  padding: 14px 16px; 
  border-bottom: 2px solid var(--border); 
  background: rgba(0, 0, 0, 0.005); 
}
td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--blue-light); }
.badge { 
  display: inline-block; 
  font-size: 11px; 
  font-weight: 700; 
  padding: 4px 12px; 
  border-radius: 20px; 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
}
.badge.high { background: var(--teal-light); color: var(--teal); }
.badge.med { background: var(--amber-light); color: var(--amber); }
.badge.low { background: var(--coral-light); color: var(--coral); }

/* FOOTER SECTION */
.footer { 
  background: hsl(220, 30%, 8%); 
  color: rgba(255,255,255,0.45); 
  text-align: center; 
  padding: 4.5rem 5%; 
  font-size: 14px; 
  margin-top: 6rem; 
  border-top: 1px solid var(--border); 
}
.footer p { max-width: 650px; margin: 0 auto; line-height: 1.7; }
.footer-links { margin-bottom: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.7); margin: 0 12px; font-weight: 600; }
.footer-links a:hover { color: #ffffff; }

/* SEARCH BAR CONTAINER & INTERACTIVE INPUT */
.search-container { max-width: 680px; margin: 2.5rem 0 0; position: relative; width: 100%; }
.search-input { 
  width: 100%; 
  padding: 1.1rem 1.5rem 1.1rem 3.2rem; 
  font-size: 16px; 
  font-family: inherit;
  border: 1.5px solid var(--border); 
  border-radius: var(--radius); 
  background: #ffffff; 
  box-shadow: var(--shadow); 
  outline: none; 
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
}
.search-input:focus { 
  border-color: var(--blue); 
  box-shadow: 0 10px 35px rgba(24, 95, 165, 0.08); 
  transform: translateY(-1px);
}
.search-icon { 
  position: absolute; 
  left: 1.25rem; 
  top: 50%; 
  transform: translateY(-50%); 
  font-size: 20px; 
  color: var(--text-hint); 
  pointer-events: none; 
}

/* SEARCH AUTOCOMPLETE DROPDOWN */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  max-height: 420px;
  overflow-y: auto;
  margin-top: 10px;
  display: none;
}
.search-suggestions.active { display: block; }
.suggestion-item {
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--page-bg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s ease;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover, .suggestion-item.highlighted {
  background: var(--blue-light);
  color: var(--blue);
}
.suggestion-type {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--gray-light);
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 4px;
}

/* INTERLINKING DIRECTORY INDEX */
.dir-grid-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}
.dir-col-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-left: 3px solid var(--blue);
  padding-left: 10px;
}
.dir-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dir-list a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.dir-list a:hover {
  color: var(--blue);
  transform: translateX(2px);
}

/* SVG SALARY DISTRIBUTION CHART */
.salary-chart-svg {
  width: 100%;
  height: auto;
  max-height: 120px;
  margin: 1.5rem 0;
}
.salary-chart-line {
  fill: none;
  stroke: var(--blue-light);
  stroke-width: 4;
}
.salary-chart-gradient-line {
  fill: none;
  stroke: url(#salary-gradient);
  stroke-width: 4;
  stroke-linecap: round;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; align-items: start; }
  .sidebar .side-card { margin-bottom: 0; }
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .nav { padding: 0 4%; }
  .layout { padding: 2rem 4%; }
  .hero { padding: 3rem 4% 3rem; }
}

@media (max-width: 560px) {
  .nav-links { display: none; }
  .hero-top { gap: 1rem; }
  .hero-icon { width: 56px; height: 56px; font-size: 28px; border-radius: 14px; }
  .stat-value { font-size: 22px; }
  .section { padding: 1.8rem 1.5rem; }
  .salary-loc { min-width: 100%; margin-bottom: 6px; }
  .salary-amt { text-align: left; min-width: auto; }
}
