/* =========================================================
   FACULTY & ACHIEVEMENTS STYLESHEET
   Guru Nanak Institute of Pharmaceutical Science & Technology
   (Life Sciences Department)
   Loaded by faculty-achievement.php & faculty.php
   ========================================================= */

/* ---- Section Scaffolding ---- */
.fa-section {
  padding: 64px 0;
}
.fa-section--tint {
  background: #f7faf7;
}
.fa-section--white {
  background: #ffffff;
}

.fa-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lsc-leaf, #1e7e34);
  margin-bottom: 10px;
}
.fa-kicker::before {
  content: '';
  width: 20px;
  height: 2.5px;
  background: var(--lsc-amber, #f59e0b);
  border-radius: 2px;
}

.fa-heading {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: var(--lsc-navy, #0f2a4a);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.fa-lede {
  max-width: 780px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #4b5563;
  margin: 0 0 36px;
}

/* =========================================================
   METRICS BAR (Top Ribbon)
   ========================================================= */
.fa-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -36px;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}
.fa-metric-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 22px;
  border: 1px solid rgba(15, 42, 74, 0.08);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fa-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -6px rgba(0, 0, 0, 0.1);
}
.fa-metric-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fa-metric-icon.icon-amber {
  background: #fef3c7;
  color: #d97706;
}
.fa-metric-icon.icon-green {
  background: #e8f5e9;
  color: #1e7e34;
}
.fa-metric-icon.icon-blue {
  background: #e0f2fe;
  color: #0284c7;
}
.fa-metric-icon.icon-purple {
  background: #f3e8ff;
  color: #7e22ce;
}
.fa-metric-icon svg {
  width: 24px;
  height: 24px;
}
.fa-metric-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--lsc-navy, #0f2a4a);
  line-height: 1.1;
}
.fa-metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 960px) {
  .fa-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .fa-metrics-bar {
    grid-template-columns: 1fr;
    margin-top: -24px;
    margin-bottom: 28px;
  }
}

/* =========================================================
   PROMINENT FACULTY PROFILE PDF ACTION BOX
   ========================================================= */
.fa-pdf-cta-box {
  background: linear-gradient(135deg, #0b2239 0%, #153e6b 100%);
  border-radius: 16px;
  padding: 32px 36px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
  box-shadow: 0 12px 32px rgba(11, 34, 57, 0.16);
  position: relative;
  overflow: hidden;
}
.fa-pdf-cta-box::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.fa-pdf-cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 680px;
  position: relative;
  z-index: 2;
}
.fa-pdf-cta-icon {
  width: 64px;
  height: 64px;
  background: rgba(245, 158, 11, 0.2);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbd38d;
  flex-shrink: 0;
}
.fa-pdf-cta-icon svg {
  width: 32px;
  height: 32px;
}
.fa-pdf-cta-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}
.fa-pdf-cta-text p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.fa-pdf-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.btn-gold-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lsc-amber, #f59e0b);
  color: #0f2a4a;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.btn-gold-dl:hover {
  background: #d97706;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 18px;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

@media (max-width: 768px) {
  .fa-pdf-cta-box {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .fa-pdf-cta-left {
    flex-direction: column;
    align-items: flex-start;
  }
  .fa-pdf-cta-actions {
    width: 100%;
  }
  .btn-gold-dl, .btn-outline-white {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   SEARCH & CATEGORY FILTER TABS
   ========================================================= */
.fa-controls-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.fa-controls-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.fa-search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 480px;
}
.fa-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
}
.fa-search-input {
  width: 100%;
  padding: 10px 14px 10px 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fa-search-input:focus {
  border-color: var(--lsc-leaf, #1e7e34);
  box-shadow: 0 0 0 3px rgba(30, 126, 52, 0.15);
}
.fa-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}
.fa-filter-btn {
  background: #f1f5f9;
  border: 1px solid transparent;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fa-filter-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.fa-filter-btn.is-active {
  background: #eef8ee;
  border-color: #cbe9cf;
  color: var(--lsc-leaf, #1e7e34);
  font-weight: 700;
}

/* =========================================================
   ACHIEVEMENTS CARDS & LIST
   ========================================================= */
.fa-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.fa-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.fa-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 42, 74, 0.08);
  border-color: #cbd5e1;
}
.fa-card-top {
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.fa-card-year {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--lsc-navy, #0f2a4a);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 2px 10px;
  border-radius: 999px;
}
.fa-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  background: #eef8ee;
  color: var(--lsc-leaf, #1e7e34);
  border: 1px solid #cbe9cf;
}
.fa-card-badge.badge-national {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}
.fa-card-badge.badge-phd {
  background: #f3e8ff;
  color: #7e22ce;
  border-color: #e9d5ff;
}
.fa-card-badge.badge-jis {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}
.fa-card-body {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fa-card-award {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lsc-navy, #0f2a4a);
  margin: 0 0 10px;
  line-height: 1.35;
}
.fa-card-faculty {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lsc-leaf, #1e7e34);
  margin-bottom: 2px;
}
.fa-card-desig {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 14px;
}
.fa-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 18px;
  flex: 1;
}
.fa-card-agency {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: auto;
  border: 1px solid #e2e8f0;
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.fa-card-agency svg {
  width: 16px;
  height: 16px;
  color: var(--lsc-amber, #f59e0b);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   FACULTY PROFILES DIRECTORY (faculty.php)
   ========================================================= */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}
.faculty-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 42, 74, 0.09);
  border-color: #cbd5e1;
}
.faculty-card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.faculty-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}
.faculty-card:hover .faculty-card-img-wrap img {
  transform: scale(1.04);
}
.faculty-card-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 42, 74, 0.85);
  color: var(--lsc-amber, #f59e0b);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.faculty-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.faculty-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--lsc-navy, #0f2a4a);
  margin: 0 0 4px;
  line-height: 1.3;
}
.faculty-card-desig {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lsc-leaf, #1e7e34);
  margin-bottom: 8px;
}
.faculty-card-qual {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 12px;
  font-weight: 500;
}
.faculty-card-spec {
  font-size: 0.83rem;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 18px;
  flex: 1;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}
.faculty-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.btn-faculty-cv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  background: #f1f8f3;
  color: var(--lsc-leaf, #1e7e34);
  border: 1px solid #cbe9cf;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 7px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-faculty-cv:hover {
  background: var(--lsc-leaf, #1e7e34);
  color: #ffffff;
}

.no-results-box {
  padding: 48px 24px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  color: #64748b;
  display: none;
  grid-column: 1 / -1;
}
