/* ==========================================================================
   TGPCET Training & Placement Modern Design System (TNP-NEW - v2.1)
   ========================================================================== */

:root {
  --tnp-primary: #0b192e;
  --tnp-primary-light: #172554;
  --tnp-accent: #2563eb;
  --tnp-accent-hover: #1d4ed8;
  --tnp-gold: #f59e0b;
  --tnp-gold-dark: #d97706;
  --tnp-gold-light: #fef3c7;
  --tnp-success: #10b981;
  --tnp-danger: #ef4444;
  --tnp-slate-50: #f8fafc;
  --tnp-slate-100: #f1f5f9;
  --tnp-slate-200: #e2e8f0;
  --tnp-slate-300: #cbd5e1;
  --tnp-slate-600: #475569;
  --tnp-slate-700: #334155;
  --tnp-slate-800: #1e293b;
  --tnp-slate-900: #0f172a;
  --tnp-radius-sm: 8px;
  --tnp-radius-md: 16px;
  --tnp-radius-lg: 24px;
  --tnp-shadow-sm: 0 2px 6px rgba(0,0,0,0.04);
  --tnp-shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 8px 12px -6px rgba(15, 23, 42, 0.04);
  --tnp-shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.14), 0 10px 20px -5px rgba(15, 23, 42, 0.05);
  --tnp-shadow-hover: 0 25px 45px -10px rgba(37, 99, 235, 0.22);
  --tnp-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tnp-page-wrapper {
  background-color: #fbfcfe;
  color: var(--tnp-slate-700);
  font-family: inherit;
  overflow-x: hidden;
}

/* ==========================================================================
   Hero Banner & Placement Background Image
   ========================================================================== */
.tnp-hero-section {
  position: relative;
  background-color: #0b192e;
  /* Professional campus recruitment / corporate background image with dark rich overlay */
  background-image: 
    linear-gradient(135deg, rgba(7, 17, 30, 0.92) 0%, rgba(11, 25, 46, 0.88) 45%, rgba(30, 58, 138, 0.85) 100%),
    url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?q=80&w=1920&auto=format&fit=crop');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
  padding: 95px 0 120px 0;
  overflow: hidden;
}

.tnp-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
              radial-gradient(circle at 10% 85%, rgba(37, 99, 235, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.tnp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tnp-hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.tnp-hero-desc {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tnp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tnp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--tnp-transition);
  text-decoration: none;
  cursor: pointer;
}

.tnp-btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
  border: none;
}

.tnp-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.45);
  color: #ffffff !important;
}

.tnp-btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  backdrop-filter: blur(10px);
}

.tnp-btn-outline-white:hover {
  background: #ffffff;
  color: var(--tnp-primary) !important;
  transform: translateY(-2px);
}

/* Stats Ribbon */
.tnp-stats-ribbon {
  margin-top: -55px;
  position: relative;
  z-index: 10;
  margin-bottom: 50px;
}

.tnp-stats-grid {
  background: #ffffff;
  border-radius: var(--tnp-radius-md);
  box-shadow: var(--tnp-shadow-lg);
  border: 1px solid var(--tnp-slate-200);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  overflow: hidden;
}

.tnp-stat-card {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid var(--tnp-slate-100);
  transition: var(--tnp-transition);
}

.tnp-stat-card:last-child {
  border-right: none;
}

.tnp-stat-card:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.tnp-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tnp-stat-icon.icon-blue {
  background: #eff6ff;
  color: var(--tnp-accent);
}

.tnp-stat-icon.icon-gold {
  background: #fef3c7;
  color: var(--tnp-gold-dark);
}

.tnp-stat-icon.icon-green {
  background: #ecfdf5;
  color: var(--tnp-success);
}

.tnp-stat-icon.icon-purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.tnp-stat-number {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--tnp-slate-900);
  line-height: 1.1;
  margin-bottom: 3px;
}

.tnp-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tnp-slate-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Sticky Sub-Navigation
   ========================================================================== */
.tnp-sticky-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--tnp-slate-200);
  padding: 10px 0;
  transition: var(--tnp-transition);
}

.tnp-nav-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px;
}

.tnp-nav-scroll::-webkit-scrollbar {
  display: none;
}

.tnp-nav-link {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tnp-slate-600);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: var(--tnp-transition);
}

.tnp-nav-link i {
  font-size: 0.9rem;
}

.tnp-nav-link:hover {
  background: var(--tnp-slate-100);
  color: var(--tnp-accent);
}

.tnp-nav-link.active {
  background: var(--tnp-accent);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   Section Headers & Cards
   ========================================================================== */
.tnp-section {
  padding: 70px 0;
  scroll-margin-top: 80px;
}

.tnp-section-alt {
  background: #f8fafc;
  border-top: 1px solid var(--tnp-slate-200);
  border-bottom: 1px solid var(--tnp-slate-200);
}

.tnp-section-header {
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.tnp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0e7ff;
  color: var(--tnp-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.tnp-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--tnp-slate-900);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.tnp-section-subtitle {
  font-size: 1.05rem;
  color: var(--tnp-slate-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.65;
}

.tnp-card {
  background: #ffffff;
  border-radius: var(--tnp-radius-md);
  border: 1px solid var(--tnp-slate-200);
  box-shadow: var(--tnp-shadow-md);
  padding: 30px;
  transition: var(--tnp-transition);
  height: 100%;
}

.tnp-card:hover {
  box-shadow: var(--tnp-shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   Section 1: Overview & Vision Mission
   ========================================================================== */
.tnp-overview-card {
  background: #ffffff;
  border-radius: var(--tnp-radius-md);
  border: 1px solid var(--tnp-slate-200);
  box-shadow: var(--tnp-shadow-md);
  padding: 36px;
  margin-bottom: 30px;
}

.tnp-feature-box {
  background: #f8fafc;
  border: 1px solid var(--tnp-slate-200);
  border-left: 4px solid var(--tnp-accent);
  border-radius: var(--tnp-radius-sm);
  padding: 20px 24px;
  margin-top: 20px;
}

.tnp-vm-card {
  background: #ffffff;
  border-radius: var(--tnp-radius-md);
  border: 1px solid var(--tnp-slate-200);
  box-shadow: var(--tnp-shadow-md);
  padding: 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--tnp-transition);
}

.tnp-vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.tnp-vm-card.vision-card::before {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.tnp-vm-card.mission-card::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.tnp-vm-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.vision-card .tnp-vm-icon {
  background: #eff6ff;
  color: var(--tnp-accent);
}

.mission-card .tnp-vm-icon {
  background: #fef3c7;
  color: var(--tnp-gold-dark);
}

.tnp-vm-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--tnp-slate-900);
  margin-bottom: 16px;
}

.tnp-list-checked {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tnp-list-checked li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  line-height: 1.6;
  color: var(--tnp-slate-700);
}

.tnp-list-checked li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--tnp-success);
  font-size: 0.9rem;
}

/* ==========================================================================
   Section 2: Leadership & Message From T&P
   ========================================================================== */
.tnp-leader-card {
  background: #ffffff;
  border-radius: var(--tnp-radius-md);
  border: 1px solid var(--tnp-slate-200);
  box-shadow: var(--tnp-shadow-md);
  overflow: hidden;
  transition: var(--tnp-transition);
  height: 100%;
}

.tnp-leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tnp-shadow-hover);
}

.tnp-leader-img-box {
  position: relative;
  overflow: hidden;
  height: 290px;
  background: #f1f5f9;
}

.tnp-leader-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.tnp-leader-card:hover .tnp-leader-img-box img {
  transform: scale(1.04);
}

.tnp-leader-content {
  padding: 24px;
}

.tnp-leader-role {
  display: inline-block;
  background: #eff6ff;
  color: var(--tnp-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.tnp-leader-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--tnp-slate-900);
  margin-bottom: 12px;
}

.tnp-leader-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.tnp-leader-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--tnp-slate-600);
}

.tnp-leader-contact-list li i {
  color: var(--tnp-accent);
  width: 16px;
}

.tnp-message-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--tnp-slate-200);
  border-radius: var(--tnp-radius-md);
  box-shadow: var(--tnp-shadow-md);
  padding: 40px;
  position: relative;
}

.tnp-quote-icon {
  font-size: 3rem;
  color: rgba(37, 99, 235, 0.12);
  position: absolute;
  top: 25px;
  right: 30px;
}

.tnp-message-highlight {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--tnp-slate-800);
  margin-bottom: 20px;
}

/* ==========================================================================
   Section 3: Visually Stunning T&P Core Team
   ========================================================================== */
.tnp-team-card-v2 {
  background: #ffffff;
  border-radius: var(--tnp-radius-md);
  border: 1px solid var(--tnp-slate-200);
  box-shadow: var(--tnp-shadow-sm);
  overflow: hidden;
  transition: var(--tnp-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.tnp-team-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: var(--tnp-shadow-hover);
  border-color: rgba(37, 99, 235, 0.35);
}

.tnp-team-card-top {
  height: 90px;
  background: linear-gradient(135deg, #0b192e 0%, #1e3a8a 100%);
  position: relative;
}

.tnp-team-card-top::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
}

.tnp-team-avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 4px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  margin: -50px auto 14px auto;
  position: relative;
  z-index: 2;
}

.tnp-team-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.tnp-team-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.tnp-team-body {
  padding: 0 20px 24px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tnp-team-name-v2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tnp-slate-900);
  margin-bottom: 6px;
}

.tnp-team-badge-role {
  display: inline-block;
  background: #eff6ff;
  color: var(--tnp-accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
  border: 1px solid #bfdbfe;
}

.tnp-team-qual-v2 {
  font-size: 0.8rem;
  color: var(--tnp-slate-600);
  margin-bottom: 16px;
}

.tnp-team-actions-v2 {
  margin-top: auto;
  border-top: 1px solid var(--tnp-slate-100);
  padding-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tnp-team-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--tnp-slate-700);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--tnp-transition);
}

.tnp-team-action-btn:hover {
  background: var(--tnp-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Section: Placed Students Horizontal Slider (Star Achievers)
   ========================================================================== */
.tnp-carousel-container {
  position: relative;
  padding: 0 45px;
}

.tnp-student-card {
  background: #ffffff;
  border: 1px solid var(--tnp-slate-200);
  border-radius: var(--tnp-radius-md);
  overflow: hidden;
  box-shadow: var(--tnp-shadow-sm);
  transition: var(--tnp-transition);
  margin: 10px 5px 20px 5px;
}

.tnp-student-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tnp-shadow-hover);
  border-color: rgba(37, 99, 235, 0.35);
}

.tnp-student-img-box {
  position: relative;
  height: 320px;
  background: #0b192e;
  overflow: hidden;
}

.tnp-student-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.tnp-student-card:hover .tnp-student-img-box img {
  transform: scale(1.05);
}

.tnp-student-package-floating {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  z-index: 2;
}

.tnp-student-overlay-zoom {
  position: absolute;
  inset: 0;
  background: rgba(11, 25, 46, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.tnp-student-card:hover .tnp-student-overlay-zoom {
  opacity: 1;
}

.tnp-student-info {
  padding: 16px 18px;
  background: #ffffff;
  border-top: 1px solid var(--tnp-slate-100);
}

.tnp-student-company {
  font-size: 1rem;
  font-weight: 800;
  color: var(--tnp-slate-900);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tnp-student-desc {
  font-size: 0.82rem;
  color: var(--tnp-slate-600);
  margin-bottom: 0;
}

/* Custom Slider Navigation Controls */
.tnp-carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--tnp-slate-200);
  color: var(--tnp-slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: var(--tnp-transition);
}

.tnp-carousel-nav-btn:hover {
  background: var(--tnp-accent);
  color: #ffffff;
  border-color: var(--tnp-accent);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.tnp-carousel-nav-prev {
  left: 0;
}

.tnp-carousel-nav-next {
  right: 0;
}

/* ==========================================================================
   Section: Recruiter Logos Carousel & Highest Packages Spotlight
   ========================================================================== */
.tnp-recruiter-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.tnp-pkg-spotlight-card {
  background: #ffffff;
  border: 1px solid var(--tnp-slate-200);
  border-radius: var(--tnp-radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--tnp-shadow-sm);
  transition: var(--tnp-transition);
}

.tnp-pkg-spotlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tnp-shadow-md);
  border-color: var(--tnp-accent);
}

.tnp-pkg-spotlight-company {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--tnp-slate-900);
  margin-bottom: 2px;
}

.tnp-pkg-spotlight-loc {
  font-size: 0.8rem;
  color: var(--tnp-slate-600);
}

.tnp-pkg-spotlight-val {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Recruiter Logos Carousel Track */
.tnp-logo-card {
  background: #ffffff;
  border: 1px solid var(--tnp-slate-200);
  border-radius: var(--tnp-radius-md);
  padding: 16px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--tnp-shadow-sm);
  transition: var(--tnp-transition);
  margin: 10px 4px;
}

.tnp-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tnp-shadow-md);
  border-color: var(--tnp-accent);
}

.tnp-logo-card img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.tnp-logo-card:hover img {
  filter: grayscale(0%);
}

/* ==========================================================================
   Section 4 & 5: Enhanced Tables
   ========================================================================== */
.tnp-table-container {
  background: #ffffff;
  border-radius: var(--tnp-radius-md);
  border: 1px solid var(--tnp-slate-200);
  box-shadow: var(--tnp-shadow-md);
  overflow: hidden;
}

.tnp-table-search-bar {
  padding: 20px 24px;
  background: #f8fafc;
  border-bottom: 1px solid var(--tnp-slate-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tnp-search-input-group {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
}

.tnp-search-input-group i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tnp-slate-600);
  pointer-events: none;
}

.tnp-search-input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border-radius: 50px;
  border: 1px solid var(--tnp-slate-300);
  font-size: 0.9rem;
  outline: none;
  transition: var(--tnp-transition);
}

.tnp-search-input:focus {
  border-color: var(--tnp-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.tnp-table-scrollable {
  max-height: 600px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.tnp-table-scrollable::-webkit-scrollbar {
  width: 6px;
}

.tnp-table-scrollable::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.tnp-table-scrollable::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.tnp-modern-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.92rem;
}

.tnp-modern-table thead {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #0f172a;
  color: #ffffff;
}

.tnp-modern-table th {
  padding: 15px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
}

.tnp-modern-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--tnp-slate-200);
  color: var(--tnp-slate-700);
  vertical-align: middle;
}

.tnp-modern-table tbody tr {
  transition: background 0.15s ease;
}

.tnp-modern-table tbody tr:hover {
  background: #f8fafc;
}

.tnp-modern-table tbody tr:last-child td {
  border-bottom: none;
}

.tnp-pkg-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.88rem;
}

.tnp-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  color: var(--tnp-slate-700);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
}

.tnp-committee-role-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.role-chairman {
  background: #fef3c7;
  color: #92400e;
}

.role-secretary {
  background: #e0e7ff;
  color: #3730a3;
}

.role-member {
  background: #f1f5f9;
  color: #475569;
}

/* ==========================================================================
   Section 6, 7, 11: Document Cards & Download Hubs
   ========================================================================== */
.tnp-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.tnp-doc-card {
  background: #ffffff;
  border: 1px solid var(--tnp-slate-200);
  border-radius: var(--tnp-radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--tnp-shadow-sm);
  transition: var(--tnp-transition);
  text-decoration: none;
  color: var(--tnp-slate-800);
}

.tnp-doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tnp-shadow-md);
  border-color: var(--tnp-accent);
  color: var(--tnp-accent);
}

.tnp-doc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.doc-pdf .tnp-doc-icon {
  background: #fee2e2;
  color: #dc2626;
}

.doc-excel .tnp-doc-icon {
  background: #dcfce7;
  color: #16a34a;
}

.doc-word .tnp-doc-icon {
  background: #dbeafe;
  color: #2563eb;
}

.tnp-doc-info {
  flex: 1;
  min-width: 0;
}

.tnp-doc-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--tnp-slate-900);
  margin-bottom: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tnp-doc-card:hover .tnp-doc-title {
  color: var(--tnp-accent);
}

.tnp-doc-sub {
  font-size: 0.78rem;
  color: var(--tnp-slate-600);
}

.tnp-doc-action {
  font-size: 1rem;
  color: var(--tnp-slate-400);
  transition: var(--tnp-transition);
}

.tnp-doc-card:hover .tnp-doc-action {
  color: var(--tnp-accent);
  transform: translateX(3px);
}

/* Placement Stats Charts Grid */
.tnp-stats-chart-card {
  background: #ffffff;
  border-radius: var(--tnp-radius-md);
  border: 1px solid var(--tnp-slate-200);
  box-shadow: var(--tnp-shadow-md);
  padding: 16px;
  transition: var(--tnp-transition);
  position: relative;
  overflow: hidden;
}

.tnp-stats-chart-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tnp-shadow-hover);
}

.tnp-stats-chart-card img {
  width: 100%;
  height: auto;
  border-radius: var(--tnp-radius-sm);
  display: block;
}

.tnp-chart-year-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ==========================================================================
   Section 8, 9, 10: Interactive Media & Photo Galleries (Glimpse & News)
   ========================================================================== */
.tnp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.tnp-gallery-card {
  position: relative;
  border-radius: var(--tnp-radius-md);
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--tnp-shadow-sm);
  transition: var(--tnp-transition);
  aspect-ratio: 4 / 3;
}

.tnp-gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tnp-shadow-hover);
}

.tnp-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.tnp-gallery-card:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.tnp-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tnp-gallery-card:hover .tnp-gallery-overlay {
  opacity: 1;
}

.tnp-gallery-zoom-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 52px;
  height: 52px;
  background: #ffffff;
  color: var(--tnp-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  opacity: 0;
  transition: all 0.3s ease;
  text-decoration: none;
  z-index: 2;
}

.tnp-gallery-card:hover .tnp-gallery-zoom-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.tnp-gallery-caption {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}

.tnp-filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.tnp-pill-btn {
  background: #ffffff;
  border: 1px solid var(--tnp-slate-200);
  color: var(--tnp-slate-700);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tnp-transition);
}

.tnp-pill-btn:hover {
  background: var(--tnp-slate-100);
  color: var(--tnp-accent);
}

.tnp-pill-btn.active {
  background: var(--tnp-accent);
  color: #ffffff;
  border-color: var(--tnp-accent);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   Full-Screen Large Lightbox Modal with Previous, Next & Close (×) Controls
   ========================================================================== */
.mfp-bg {
  background: rgba(7, 17, 30, 0.94) !important;
  backdrop-filter: blur(12px) !important;
  opacity: 1 !important;
}

.mfp-wrap {
  z-index: 9999 !important;
}

.mfp-container {
  padding: 0 20px !important;
}

/* Prominent Top-Right Close Button */
.mfp-close {
  width: 54px !important;
  height: 54px !important;
  line-height: 54px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50% !important;
  top: 24px !important;
  right: 24px !important;
  font-size: 32px !important;
  font-family: inherit !important;
  color: #ffffff !important;
  text-align: center !important;
  transition: var(--tnp-transition) !important;
  opacity: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 1050 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.mfp-close:hover {
  background: var(--tnp-danger) !important;
  border-color: var(--tnp-danger) !important;
  color: #ffffff !important;
  transform: rotate(90deg) scale(1.1) !important;
}

/* Prominent Previous & Next Navigation Arrows */
.mfp-arrow {
  width: 64px !important;
  height: 64px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 50% !important;
  margin-top: -32px !important;
  transition: var(--tnp-transition) !important;
  opacity: 0.95 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 1050 !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35) !important;
}

.mfp-arrow:hover {
  background: var(--tnp-accent) !important;
  border-color: var(--tnp-accent) !important;
  opacity: 1 !important;
  transform: scale(1.12) !important;
}

.mfp-arrow::before, .mfp-arrow::after {
  display: none !important;
}

.mfp-arrow-left {
  left: 24px !important;
}

.mfp-arrow-left::before {
  content: "\f053" !important;
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  font-size: 1.4rem !important;
  color: #ffffff !important;
  display: block !important;
}

.mfp-arrow-right {
  right: 24px !important;
}

.mfp-arrow-right::before {
  content: "\f054" !important;
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900 !important;
  font-size: 1.4rem !important;
  color: #ffffff !important;
  display: block !important;
}

/* Image framing & captions */
img.mfp-img {
  max-height: 85vh !important;
  padding: 40px 0 45px 0 !important;
  border-radius: 8px !important;
}

.mfp-figure {
  background: transparent !important;
}

.mfp-figure::after {
  box-shadow: 0 30px 80px rgba(0,0,0,0.6) !important;
  border-radius: 12px;
}

.mfp-bottom-bar {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px) !important;
  padding: 14px 22px !important;
  border-radius: 0 0 12px 12px !important;
  margin-top: -6px !important;
}

.mfp-title {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  line-height: 1.4 !important;
}

.mfp-counter {
  font-weight: 800 !important;
  color: #fbbf24 !important;
  font-size: 0.92rem !important;
}

/* ==========================================================================
   Section 12: Teaching Tools & Faculty Achievements
   ========================================================================== */
.tnp-tools-card {
  background: #ffffff;
  border-radius: var(--tnp-radius-md);
  border: 1px solid var(--tnp-slate-200);
  box-shadow: var(--tnp-shadow-sm);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--tnp-transition);
  height: 100%;
}

.tnp-tools-card:hover {
  box-shadow: var(--tnp-shadow-md);
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.3);
}

.tnp-tools-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.tools-youtube .tnp-tools-icon {
  background: #fee2e2;
  color: #ef4444;
}

.tools-lab .tnp-tools-icon {
  background: #e0e7ff;
  color: #4f46e5;
}

.tools-project .tnp-tools-icon {
  background: #fef3c7;
  color: #d97706;
}

.tools-method .tnp-tools-icon {
  background: #dcfce7;
  color: #16a34a;
}

.tnp-tools-info h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tnp-slate-900);
  margin-bottom: 6px;
}

.tnp-tools-info p {
  font-size: 0.85rem;
  color: var(--tnp-slate-600);
  margin-bottom: 12px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991px) {
  .tnp-hero-title {
    font-size: 2.4rem;
  }
  .tnp-section-title {
    font-size: 1.85rem;
  }
  .tnp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tnp-carousel-container {
    padding: 0 10px;
  }
  .tnp-carousel-nav-btn {
    display: none !important;
  }
  .mfp-arrow {
    width: 48px !important;
    height: 48px !important;
    margin-top: -24px !important;
  }
  .mfp-arrow-left {
    left: 8px !important;
  }
  .mfp-arrow-right {
    right: 8px !important;
  }
}

@media (max-width: 767px) {
  .tnp-hero-section {
    padding: 60px 0 80px 0;
    background-attachment: scroll;
  }
  .tnp-hero-title {
    font-size: 2rem;
  }
  .tnp-stats-grid {
    grid-template-columns: 1fr;
  }
  .tnp-stat-card {
    border-right: none;
    border-bottom: 1px solid var(--tnp-slate-100);
  }
  .tnp-stat-card:last-child {
    border-bottom: none;
  }
  .tnp-table-search-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .tnp-search-input-group {
    max-width: 100%;
  }
  .mfp-close {
    top: 10px !important;
    right: 10px !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 26px !important;
  }
}
