/* ============================================================
   ABOUT.CSS
   All styles scoped to #placement-stats (Program Tabs +
   Notifications panel) and the About modal overlay.
   ============================================================ */

/* ── 1. SECTION WRAPPER ──────────────────────────────────── */
#placement-stats {
  background: #f4f7fb;
  padding: 3.5rem 0;
}

/* ── 2. TWO-COLUMN LAYOUT ────────────────────────────────── */
#placement-stats .prog-two-col {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 2rem;
  align-items: flex-start;
}

#placement-stats .prog-left {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid #e2e8f0;
}

#placement-stats .prog-right {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem;
  text-align: justify;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid #e2e8f0;
}

/* ── 3. TAB NAV ──────────────────────────────────────────── */
#placement-stats .prog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.75rem;
}

#placement-stats .ptab {
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: var(--gray-600);
  font-size: 15px /* ← matched to ann-text */
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-align: justify;
}

#placement-stats .ptab:hover {
  background: rgba(30, 91, 198, 0.06);
  border-color: var(--blue);
  color: var(--blue);
}

#placement-stats .ptab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

/* ── 4. TAB PANELS ───────────────────────────────────────── */
#placement-stats .ptab-panel {
  display: none;
}

#placement-stats .ptab-panel.active {
  display: block;
}

#placement-stats .ptab-intro {
  font-size: 14.5px; /* ← matched */
  color: #334155;
  line-height: 1.75;
}

/* Read More button */
#placement-stats .ptab-rm-btn {
  background: var(--blue);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px; /* ← matched */
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
}

#placement-stats .ptab-rm-btn:hover {
  opacity: 0.88;
}

/* ── 5. VISION / MISSION CARDS ───────────────────────────── */
#placement-stats .ptab-vm-card {
  border-radius: 16px;
  padding: 2rem;
  margin-top: 0.5rem;
}

#placement-stats .vision-card {
  background: var(--grad-blue);
  color: #ffffff;
  font-size: 20px /* ← matched */
}

#placement-stats .mission-card {
  background: #ffffff;
  border: 2px solid rgba(245, 184, 0, 0.4);
  box-shadow: 0 8px 30px rgba(245, 184, 0, 0.12);
}

#placement-stats .vm2-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem; /* ← matched */
  margin-bottom: 1rem;
  color: var(--gold);
}

#placement-stats .mission-icon {
  background: rgba(245, 184, 0, 0.15);
  color: var(--gold);
}

#placement-stats .vm2-title {
  font-size: 0.82rem; /* ← matched */
  font-weight: 700;
  margin-bottom: 0.6rem;
}

#placement-stats .mission-title {
  color: var(--navy);
}

#placement-stats .vm2-text {
  font-size: 0.82rem; /* ← matched */
  line-height: 1.75;
}

/* ── 6. SECTION LABEL (PEOs / POs / PSOs) ────────────────── */
#placement-stats .ptab-section-label {
  font-size: 0.82rem; /* ← matched */
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

/* ── 7. PEO GRID ─────────────────────────────────────────── */
#placement-stats .peo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

#placement-stats .peo-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-size: 0.82rem; /* ← matched */
  color: var(--navy);
  line-height: 1.55;
}

#placement-stats .peo-card strong {
  color: var(--blue);
  display: block;
  margin-bottom: 0.3rem;
}

/* ── 8. PO LIST ──────────────────────────────────────────── */
#placement-stats .po2-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 320px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

#placement-stats .po2-list.expanded {
  max-height: 2000px;
}

#placement-stats .po2-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.82rem; /* ← matched */
  color: #334155;
  line-height: 1.5;
}

#placement-stats .po2-num {
  min-width: 32px;
  height: 28px;
  background: var(--grad-blue);
  color: var(--gold);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
  flex-shrink: 0;
}

#placement-stats .po2-toggle-wrap {
  text-align: center;
  margin-top: 0.75rem;
}

#placement-stats .po2-toggle-btn {
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: 8px;
  font-size: 0.82rem; /* ← matched */
  font-weight: 600;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

#placement-stats .po2-toggle-btn:hover {
  background: var(--blue);
  color: #ffffff;
}

/* ── 9. PSO GRID ─────────────────────────────────────────── */
#placement-stats .pso-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#placement-stats .pso-card {
  background: #f8fafc;
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 0.85rem 1rem;
  font-size: 0.82rem; /* ← matched */
  color: #334155;
  line-height: 1.55;
}

#placement-stats .pso-card strong {
  color: var(--navy);
  display: block;
  margin-bottom: 0.2rem;
}

/* ── 10. NOTIFICATIONS PANEL ─────────────────────────────── */
#placement-stats .notif-header {
  margin-bottom: 1rem;
}

#placement-stats .notif-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(30, 91, 198, 0.08);
  border: 1px solid rgba(30, 91, 198, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.4rem;
}

#placement-stats .notif-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

#placement-stats .notif-scroll-wrap {
  height: 420px;
  overflow: hidden;
  position: relative;
}

#placement-stats .notif-scroll-inner {
  animation: notif-scroll-up 28s linear infinite;
}

#placement-stats .notif-scroll-wrap:hover .notif-scroll-inner {
  animation-play-state: paused;
}

@keyframes notif-scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Announcement items */
#placement-stats .ann-item {
  background: #f8fafc;
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
  cursor: pointer;
}

#placement-stats .ann-item:hover {
  border-left-color: var(--gold);
  transform: translateX(4px);
}

#placement-stats .ann-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 700;
}

#placement-stats .ann-text {
  font-size: 0.82rem; /* ← base reference size */
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}

#placement-stats .ann-new {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

/* ── 11. ABOUT MODAL ─────────────────────────────────────── */
.about-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.about-modal-overlay.open {
  display: flex;
}

.about-modal-box {
  background: #ffffff;
  border-radius: 20px;
  max-width: 820px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.about-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem; /* ← matched */
  color: #475569;
  cursor: pointer;
  transition: background 0.2s;
}

.about-modal-close:hover {
  background: #e2e8f0;
}

.about-modal-header {
  margin-bottom: 1.5rem;
}

.about-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.5rem;
}

.about-modal-content p {
  font-size: 0.82rem; /* ← matched */
  line-height: 1.75;
  color: #334155;
  margin-bottom: 0.75rem;
}

.about-industries-title {
  font-size: 0.82rem; /* ← matched */
  font-weight: 700;
  color: var(--navy);
  margin: 1.5rem 0 1rem;
}

.about-industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.ind-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.82rem; /* ← matched */
  color: #334155;
  line-height: 1.5;
}

.ind-num {
  display: inline-block;
  background: var(--grad-blue);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  margin-bottom: 0.4rem;
}

/* ── 12. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  #placement-stats .prog-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #placement-stats .peo-grid {
    grid-template-columns: 1fr;
  }

  .about-modal-box {
    padding: 1.5rem;
  }
}
