/* ==========================================================================
   css/placement-2026.css
   Modern, Interactive Placement Records 2026 for GNIPST
   ========================================================================== */
:root {
  --p26-primary: #0d4c2f;
  --p26-primary-dark: #072a1a;
  --p26-primary-light: #12603b;
  --p26-gold: #f0a800;
  --p26-gold-dark: #c88900;
  --p26-gold-light: #fff8e7;
  --p26-bg-light: #f7faf8;
  --p26-card-bg: #ffffff;
  --p26-text-main: #1e293b;
  --p26-text-muted: #64748b;
  --p26-border: #e2e8f0;
  --p26-shadow-sm: 0 4px 14px rgba(13, 76, 47, 0.06);
  --p26-shadow: 0 10px 25px -4px rgba(13, 76, 47, 0.09);
  --p26-shadow-hover: 0 16px 36px -6px rgba(13, 76, 47, 0.16);
  --p26-radius: 16px;
  --p26-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.p26-page {
  background-color: var(--p26-bg-light);
  color: var(--p26-text-main);
  padding-bottom: 80px;
}
/* ================= STATS BAR ================= */
.p26-stat-strip {
  position: relative;
  z-index: 10;
  margin-top: -36px;
  margin-bottom: 40px;
}
.p26-stat-strip-inner {
  max-width: var(--container, 1200px);
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--p26-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--p26-border);
  overflow: hidden;
  padding: 0;
  list-style: none;
}
.p26-stat-strip-inner li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-right: 1px solid var(--p26-border);
}
.p26-stat-strip-inner li:last-child {
  border-right: none;
}
.p26-stat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--p26-gold-light);
  color: var(--p26-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.p26-stat-icon svg {
  width: 24px;
  height: 24px;
}
.p26-stat-icon-rupee {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--p26-primary);
  line-height: 1;
}
.p26-stat-value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--p26-primary-dark);
  line-height: 1.15;
}
.p26-stat-label {
  display: block;
  font-size: 12.5px;
  color: var(--p26-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
/* ================= SECTION HEADER ================= */
.p26-section-header {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.p26-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--p26-primary);
  margin-bottom: 8px;
}
.p26-kicker svg {
  color: var(--p26-gold-dark);
}
.p26-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--p26-primary-dark);
  margin: 0 0 6px;
  line-height: 1.25;
}
.p26-lede {
  font-size: 15.5px;
  color: var(--p26-text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}
/* ================= TOOLBAR (SEARCH + FILTERS + VIEW TOGGLE) ================= */
.p26-toolbar {
  background: #ffffff;
  border: 1px solid var(--p26-border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 30px;
  box-shadow: var(--p26-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p26-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
/* Search Box */
.p26-search-wrap {
  position: relative;
  flex: 1 1 320px;
  max-width: 440px;
}
.p26-search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--p26-border);
  border-radius: 10px;
  background: #f8faf9;
  color: var(--p26-text-main);
  transition: var(--p26-transition);
}
.p26-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--p26-primary);
  box-shadow: 0 0 0 3px rgba(13, 76, 47, 0.12);
}
.p26-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--p26-text-muted);
  pointer-events: none;
}
/* View Mode Switcher */
.p26-view-switch {
  display: inline-flex;
  align-items: center;
  background: #f1f5f3;
  padding: 4px;
  border-radius: 10px;
  gap: 4px;
}
.p26-view-btn {
  background: transparent;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--p26-text-muted);
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--p26-transition);
}
.p26-view-btn svg {
  width: 16px;
  height: 16px;
}
.p26-view-btn.is-active {
  background: #ffffff;
  color: var(--p26-primary-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
/* Sector Filter Chips */
.p26-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.p26-chip-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--p26-text-muted);
  letter-spacing: 0.5px;
  margin-right: 4px;
}
.p26-chip {
  background: #f8faf9;
  border: 1px solid var(--p26-border);
  color: var(--p26-text-muted);
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--p26-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.p26-chip .chip-count {
  font-size: 11px;
  background: #e2e8f0;
  color: #334155;
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 700;
  transition: var(--p26-transition);
}
.p26-chip:hover {
  background: #f1f5f3;
  color: var(--p26-primary);
  border-color: rgba(13, 76, 47, 0.25);
}
.p26-chip.is-active {
  background: var(--p26-primary);
  color: #ffffff;
  border-color: var(--p26-primary);
  box-shadow: 0 2px 10px rgba(13, 76, 47, 0.2);
}
.p26-chip.is-active .chip-count {
  background: var(--p26-gold);
  color: var(--p26-primary-dark);
}
.p26-result-counter {
  font-size: 13.5px;
  color: var(--p26-text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}
.p26-result-counter strong {
  color: var(--p26-primary-dark);
}
/* ================= GRID VIEW ================= */
.p26-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.p26-card {
  background: #ffffff;
  border: 1px solid var(--p26-border);
  border-radius: var(--p26-radius);
  overflow: hidden;
  box-shadow: var(--p26-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--p26-transition);
  position: relative;
}
.p26-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--p26-shadow-hover);
  border-color: rgba(13, 76, 47, 0.25);
}
.p26-card-media {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #0d4c2f 0%, #072a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.p26-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}
.p26-card:hover .p26-card-img {
  transform: scale(1.05);
}
.p26-avatar-fallback {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 26px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
/* Package Chip */
.p26-card-pkg {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 76, 47, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(240, 168, 0, 0.6);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.p26-card-pkg span.rupee-symbol {
  color: var(--p26-gold);
  font-weight: 800;
}
.p26-card-sl {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
}
/* Floating Recruiter Logo / Badge on Card */
.p26-card-logo-box {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: #ffffff;
  border-radius: 8px;
  padding: 3px 8px;
  height: 38px;
  max-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.p26-card-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Card Content */
.p26-card-content {
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.p26-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--p26-primary-dark);
  margin: 0 0 6px;
  line-height: 1.3;
}
.p26-card-stream-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--p26-primary);
  background: rgba(13, 76, 47, 0.08);
  padding: 2px 8px;
  border-radius: 5px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
}
.p26-card-placement-info {
  background: #f8faf9;
  border-left: 3px solid var(--p26-gold);
  padding: 8px 10px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 12px;
}
.p26-card-company-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--p26-text-main);
  display: block;
  margin-bottom: 2px;
}
.p26-card-sector-name {
  font-size: 12px;
  color: var(--p26-text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.p26-card-sector-name svg {
  color: var(--p26-gold-dark);
  flex-shrink: 0;
}
.p26-story-link {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--p26-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--p26-primary);
  font-weight: 700;
  text-decoration: none;
  transition: var(--p26-transition);
}
.p26-story-link:hover {
  color: var(--p26-gold-dark);
}
.p26-story-link svg {
  transition: transform 0.2s ease;
}
.p26-story-link:hover svg {
  transform: translateX(3px);
}
/* ================= TABLE VIEW ================= */
.p26-table-wrap {
  display: none;
  background: #ffffff;
  border: 1px solid var(--p26-border);
  border-radius: var(--p26-radius);
  overflow-x: auto;
  box-shadow: var(--p26-shadow-sm);
}
.p26-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.p26-table th {
  background: #f8faf9;
  color: var(--p26-primary-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 18px;
  border-bottom: 2px solid var(--p26-border);
  white-space: nowrap;
}
.p26-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--p26-border);
  color: #334155;
  vertical-align: middle;
}
.p26-table tbody tr:last-child td {
  border-bottom: none;
}
.p26-table tbody tr:hover {
  background: #fdfefe;
}
.p26-table-sl {
  font-weight: 700;
  color: #94a3b8;
  font-size: 13px;
  width: 50px;
}
.p26-table-student {
  font-weight: 700;
  color: var(--p26-primary-dark);
  font-size: 15px;
}
.p26-table-company-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.p26-table-company-logo {
  width: 40px;
  height: 28px;
  object-fit: contain;
  border: 1px solid var(--p26-border);
  border-radius: 4px;
  padding: 2px;
  background: #ffffff;
}
.p26-table-sector-badge {
  background: #f1f5f3;
  color: var(--p26-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  white-space: nowrap;
}
.p26-table-ctc-badge {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #92400e;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fcd34d;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
/* When table mode active */
.is-table-mode .p26-grid {
  display: none !important;
}
.is-table-mode .p26-table-wrap {
  display: block !important;
}
/* Empty search result message */
.p26-empty-state {
  display: none;
  background: #ffffff;
  border: 1px dashed var(--p26-border);
  border-radius: 16px;
  padding: 45px 20px;
  text-align: center;
  color: var(--p26-text-muted);
}
.p26-empty-state svg {
  color: #cbd5e1;
  margin-bottom: 12px;
}
.p26-empty-state h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: var(--p26-primary-dark);
  margin: 0 0 6px;
}
/* ================= ALUMNI TESTIMONIALS CALLOUT BANNER ================= */
.p26-testimonials-banner {
  background: linear-gradient(135deg, #0d4c2f 0%, #072a1a 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 36px 40px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 12px 32px rgba(13, 76, 47, 0.25);
  position: relative;
  overflow: hidden;
}
.p26-testimonials-banner::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(240, 168, 0, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.p26-banner-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
}
.p26-banner-text p {
  color: #d1fae5;
  font-size: 15px;
  margin: 0;
  max-width: 600px;
  line-height: 1.6;
}
.p26-banner-btn {
  background: var(--p26-gold);
  color: var(--p26-primary-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--p26-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.p26-banner-btn:hover {
  background: #ffb81c;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(240, 168, 0, 0.35);
}
/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .p26-stat-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .p26-stat-strip-inner li:nth-child(2) {
    border-right: none;
  }
  .p26-stat-strip-inner li:nth-child(-n+2) {
    border-bottom: 1px solid var(--p26-border);
  }
  .p26-testimonials-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
  }
}
@media (max-width: 640px) {
  .p26-stat-strip-inner {
    grid-template-columns: 1fr;
  }
  .p26-stat-strip-inner li {
    border-right: none !important;
    border-bottom: 1px solid var(--p26-border);
  }
  .p26-stat-strip-inner li:last-child {
    border-bottom: none;
  }
  .p26-toolbar-top {
    flex-direction: column;
    align-items: stretch;
  }
  .p26-search-wrap {
    max-width: 100%;
  }
  .p26-grid {
    grid-template-columns: 1fr;
  }
}
