/* =========================================================
   TRAINING & PLACEMENT OVERVIEW — STYLESHEET
   Department of Life Sciences, GNIPST
   ========================================================= */

:root {
  --tp-navy: #0f2a4a;
  --tp-forest: #0d4a2b;
  --tp-leaf: #1e7e34;
  --tp-amber: #f59e0b;
  --tp-gold: #d97706;
  --tp-surface: #f8fafc;
  --tp-line: #e2e8f0;
}

/* ---- Stat Metrics Strip ---- */
.tp-stats-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--tp-line);
  padding: 32px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}
.tp-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.tp-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--tp-line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tp-stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 42, 74, 0.06);
  border-color: var(--tp-leaf);
}
.tp-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #eef8ee;
  color: var(--tp-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tp-stat-val {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--tp-navy);
  line-height: 1.1;
  margin-bottom: 2px;
}
.tp-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- Section Scaffolding ---- */
.tp-section {
  padding: 72px 0;
}
.tp-section--white {
  background: #ffffff;
}
.tp-section--tint {
  background: #f8fafc;
}
.tp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tp-leaf);
  margin-bottom: 8px;
}
.tp-kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--tp-amber);
}
.tp-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 800;
  color: var(--tp-navy);
  margin: 0 0 14px;
  line-height: 1.25;
}
.tp-lede {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
  margin: 0 0 40px;
}

/* ---- 4-Pillar Progression Framework ---- */
.tp-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.tp-step-card {
  background: #ffffff;
  border: 1px solid var(--tp-line);
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}
.tp-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 42, 74, 0.09);
  border-color: var(--tp-leaf);
}
.tp-step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--tp-forest), var(--tp-leaf));
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.tp-step-phase {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tp-amber);
  margin-bottom: 6px;
}
.tp-step-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tp-navy);
  margin: 0 0 10px;
  line-height: 1.35;
}
.tp-step-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 16px;
  flex-grow: 1;
}
.tp-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tp-step-tag {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

/* ---- Domain Training Cards Grid ---- */
.tp-domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.tp-domain-card {
  background: #ffffff;
  border: 1px solid var(--tp-line);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tp-domain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 42, 74, 0.08);
}
.tp-domain-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.tp-domain-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef8ee;
  color: var(--tp-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tp-domain-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tp-navy);
  margin: 0;
}
.tp-domain-skills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tp-domain-skills li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4b5563;
}
.tp-domain-skills li svg {
  width: 16px;
  height: 16px;
  color: var(--tp-leaf);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---- Recruiter Sectors & Badges ---- */
.tp-sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.tp-sector-card {
  background: #ffffff;
  border: 1px solid var(--tp-line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}
.tp-sector-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.tp-sector-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f1f8f3;
  color: var(--tp-leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tp-sector-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tp-navy);
  margin: 0;
}
.tp-sector-companies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tp-co-badge {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.18s ease;
}
.tp-co-badge:hover {
  background: #eef8ee;
  border-color: #86efac;
  color: var(--tp-leaf);
}

/* ---- Recruiter Banner Showcase ---- */
.tp-recruiter-banner {
  background: #ffffff;
  border: 1px solid var(--tp-line);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 48px;
}
.tp-recruiter-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ---- Summer Training Table ---- */
.tp-table-wrap {
  background: #ffffff;
  border: 1px solid var(--tp-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 32px;
}
.tp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.tp-table th {
  background: #f8fafc;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  padding: 14px 20px;
  border-bottom: 2px solid var(--tp-line);
}
.tp-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: #334155;
  border-bottom: 1px solid var(--tp-line);
  vertical-align: middle;
}
.tp-table tbody tr:last-child td {
  border-bottom: none;
}
.tp-table tbody tr:hover {
  background: #f1f8f3;
}

/* ---- Placement Track Year Buttons ---- */
.tp-year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tp-year-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid var(--tp-line);
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tp-year-btn:hover {
  background: #f1f5f9;
  color: var(--tp-navy);
}
.tp-year-btn.is-active {
  background: var(--tp-leaf);
  border-color: var(--tp-leaf);
  color: #ffffff;
}

/* ---- TPO & Corporate Engagement CTA ---- */
.tp-cta-box {
  background: linear-gradient(135deg, #0d3822 0%, #061c10 100%);
  border-radius: 20px;
  padding: 44px 36px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.tp-cta-box h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 14px;
  color: #ffffff;
}
.tp-cta-box p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin: 0 0 24px;
}
.tp-contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 28px 24px;
}
.tp-contact-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: #ffffff;
}
.tp-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tp-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #e2e8f0;
}
.tp-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--tp-amber);
  flex-shrink: 0;
}
.tp-contact-item a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}
.tp-contact-item a:hover {
  color: var(--tp-amber);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .tp-cta-box {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
}
