@charset "UTF-8";

/*
  ┌─────────────────────────────────────────────────────┐
  │  EXACT COLORS EXTRACTED FROM BACKGROUND IMAGE       │
  │  Board center:    #337a72  (medium teal-green)      │
  │  Board lighter:   #418d83  (highlight spots)        │
  │  Board darker:    #286c65  (shadow edges)           │
  │  Sidebar deep:    #0f2e2b  (darkest teal)           │
  │  Chalk text:      #e8f5f3                           │
  │  Gold accent:     #F5D060 / #C8962A                 │
  └─────────────────────────────────────────────────────┘
*/

/* ═══════════════════════════════════════
   BASE RESET
═══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Source Sans 3', sans-serif;
  background: #286c65;
  overflow: hidden;
}

/* ═══════════════════════════════════════
   PAGE SHELL
═══════════════════════════════════════ */
.erp-page {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* ═══════════════════════════════════════
   SIDEBAR — deepest teal, same board family
═══════════════════════════════════════ */
.erp-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: linear-gradient(165deg, #0a1f1d 0%, #102825 55%, #163530 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 10;
  box-shadow: 4px 0 32px rgba(0, 0, 0, 0.7);
}

/* Gold chalk-line on sidebar right edge */
.erp-sidebar::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 2px; height: 100%;
  background: linear-gradient(180deg,
    transparent,
    rgba(245, 208, 96, 0.55),
    rgba(245, 208, 96, 0.2),
    transparent);
}

/* ═══════════════════════════════════════
   MAIN AREA — teal-glass overlay on chalkboard
═══════════════════════════════════════ */
.erp-main {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-image: url('../images/GSMT1img.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Teal-tinted overlay — matches board, barely reduces brightness */
.bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 40, 36, 0.58);
  backdrop-filter: blur(1px);
}

/* ═══════════════════════════════════════
   SCROLL AREA
═══════════════════════════════════════ */
.dash-scroll {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 28px;
}

.dash-scroll::-webkit-scrollbar { width: 5px; }
.dash-scroll::-webkit-scrollbar-track {
  background: rgba(10, 38, 34, 0.4);
  border-radius: 10px;
}
.dash-scroll::-webkit-scrollbar-thumb {
  background: rgba(245, 208, 96, 0.4);
  border-radius: 10px;
}
.dash-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 208, 96, 0.7);
}

/* ═══════════════════════════════════════
   ALERTS
═══════════════════════════════════════ */
.erp-alert {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
  background: rgba(20, 58, 54, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8f5f3;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
}
.erp-alert-danger  { border-color: rgba(239,68,68,0.4);  background: rgba(140,25,25,0.22); }
.erp-alert-success { border-color: rgba(34,197,94,0.4);  background: rgba(20,110,60,0.22); }
.erp-alert-warning { border-color: rgba(234,179,8,0.4);  background: rgba(150,100,8,0.22); }

/* ═══════════════════════════════════════
   TWO-COLUMN LAYOUT
═══════════════════════════════════════ */
.pro-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}

/* ═══════════════════════════════════════
   SECTION LABELS
═══════════════════════════════════════ */
.pro-section { margin-bottom: 28px; }
.pro-section:last-child { margin-bottom: 0; }
.pro-section + .pro-section {
  padding-top: 24px;
  border-top: 1px solid rgba(245, 208, 96, 0.18);
}

.pro-label {
  font-size: 18px;
  font-weight: 700;
  color: #e8f5f3;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 0 24px rgba(245,208,96,0.1);
  position: relative;
  padding-left: 16px;
  display: inline-block;
  font-family: 'Playfair Display', 'Georgia', serif;
}

.pro-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 22px;
  background: linear-gradient(180deg, #F5D060, #C8962A);
  border-radius: 3px;
  box-shadow: 0 0 16px rgba(245,208,96,0.55);
}

/* ═══════════════════════════════════════
   CARD GRIDS
═══════════════════════════════════════ */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ═══════════════════════════════════════
   PRO CARDS — glassmorphic, teal-based
   backdrop-filter lets the board show through
═══════════════════════════════════════ */
.pro-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px 20px;
  border-radius: 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1);
  outline: none;
  min-height: 160px;
  user-select: none;
  background: rgba(20, 70, 64, 0.60);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 30px -10px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pro-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 22%,
    rgba(255,255,255,0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.pro-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg,
    transparent, rgba(255,255,255,0.09), transparent);
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 2;
}

.pro-card:hover::before { opacity: 1; }
.pro-card:hover::after  { left: 100%; }

.pro-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow:
    0 24px 44px -12px rgba(0,0,0,0.7),
    0 0 0 1px rgba(245,208,96,0.42),
    inset 0 1px 0 rgba(255,255,255,0.18);
  border-color: rgba(245,208,96,0.42);
}
.pro-card:active { transform: translateY(-2px) scale(0.99); }
.pro-card.selected {
  outline: 3px solid #F5D060;
  outline-offset: 3px;
  filter: brightness(1.12);
  box-shadow: 0 20px 38px -10px rgba(245,208,96,0.35);
}

/* Icon box */
.card-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(255,255,255,0.24);
  margin-bottom: 14px;
  position: relative; z-index: 5;
  box-shadow: 0 8px 18px -6px rgba(0,0,0,0.45);
}
.pro-card:hover .card-icon {
  background: rgba(255,255,255,0.24);
  transform: scale(1.07) rotate(4deg);
  border-color: rgba(245,208,96,0.55);
}
.card-icon svg {
  width: 30px; height: 30px;
  stroke: #fff; fill: none;
  stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.card-content { position: relative; z-index: 5; width: 100%; }
.card-title {
  font-size: 15.5px; font-weight: 700;
  color: #fff; line-height: 1.3; margin-bottom: 5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
  letter-spacing: 0.1px;
}
.card-subtitle {
  font-size: 13px; font-weight: 500;
  color: rgba(232,245,243,0.85); line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.pro-card-right { min-height: 140px; padding: 22px 16px; }

/* ═══════════════════════════════════════
   CARD COLOR PALETTE
   All colors are rich, deep, semi-transparent
   They complement the #337a72 teal board
═══════════════════════════════════════ */

/* Deep Royal Blue */
.color-primary-1 {
  background: linear-gradient(145deg,
    rgba(12, 28, 72, 0.85),
    rgba(20, 48, 118, 0.80),
    rgba(32, 72, 165, 0.76)) !important;
  border-color: rgba(80, 140, 235, 0.30) !important;
}

/* Cobalt Blue */
.color-primary-2 {
  background: linear-gradient(145deg,
    rgba(10, 32, 82, 0.85),
    rgba(18, 54, 130, 0.80),
    rgba(28, 80, 178, 0.76)) !important;
  border-color: rgba(70, 130, 240, 0.28) !important;
}

/* Deep Pine — darker than board, same family */
.color-teal-1 {
  background: linear-gradient(145deg,
    rgba(6, 38, 34, 0.90),
    rgba(10, 58, 52, 0.85),
    rgba(16, 86, 76, 0.80)) !important;
  border-color: rgba(40, 175, 155, 0.32) !important;
}

/* Ocean — slightly lighter teal */
.color-teal-2 {
  background: linear-gradient(145deg,
    rgba(8, 42, 48, 0.90),
    rgba(12, 66, 74, 0.85),
    rgba(18, 98, 108, 0.80)) !important;
  border-color: rgba(40, 195, 205, 0.30) !important;
}

/* Rich Amethyst */
.color-purple-1 {
  background: linear-gradient(145deg,
    rgba(36, 10, 72, 0.88),
    rgba(58, 18, 116, 0.83),
    rgba(85, 36, 162, 0.78)) !important;
  border-color: rgba(165, 100, 240, 0.30) !important;
}

/* Violet */
.color-purple-2 {
  background: linear-gradient(145deg,
    rgba(42, 16, 85, 0.88),
    rgba(68, 30, 132, 0.83),
    rgba(100, 55, 182, 0.78)) !important;
  border-color: rgba(180, 120, 250, 0.28) !important;
}

/* Warm Amber Gold — Hostel (premium) */
.color-gold-1 {
  background: linear-gradient(145deg,
    rgba(78, 40, 4, 0.92),
    rgba(120, 64, 8, 0.88),
    rgba(175, 105, 16, 0.84)) !important;
  border-color: rgba(245, 192, 58, 0.45) !important;
  box-shadow:
    0 12px 30px -10px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,220,100,0.18) !important;
}

/* Deep Amber — Old Student */
.color-gold-2 {
  background: linear-gradient(145deg,
    rgba(88, 46, 6, 0.92),
    rgba(134, 72, 12, 0.88),
    rgba(192, 118, 24, 0.84)) !important;
  border-color: rgba(245, 202, 68, 0.40) !important;
}

/* Rich Crimson — Professional College */
.color-red-1 {
  background: linear-gradient(145deg,
    rgba(76, 10, 10, 0.90),
    rgba(124, 18, 18, 0.86),
    rgba(168, 30, 30, 0.82)) !important;
  border-color: rgba(235, 80, 80, 0.32) !important;
}

/* Deep Indigo — Senior College */
.color-indigo-1 {
  background: linear-gradient(145deg,
    rgba(20, 24, 72, 0.88),
    rgba(32, 40, 112, 0.83),
    rgba(48, 62, 155, 0.78)) !important;
  border-color: rgba(120, 140, 240, 0.28) !important;
}

.color-indigo-2 {
  background: linear-gradient(145deg,
    rgba(16, 22, 82, 0.88),
    rgba(26, 38, 124, 0.83),
    rgba(42, 62, 172, 0.78)) !important;
  border-color: rgba(110, 135, 248, 0.25) !important;
}

/* Peacock Cyan */
.color-cyan-1 {
  background: linear-gradient(145deg,
    rgba(6, 56, 70, 0.88),
    rgba(10, 84, 106, 0.83),
    rgba(16, 120, 138, 0.78)) !important;
  border-color: rgba(50, 198, 215, 0.30) !important;
}

/* Magenta Rose */
.color-accent-1 {
  background: linear-gradient(145deg,
    rgba(68, 10, 50, 0.90),
    rgba(108, 18, 78, 0.86),
    rgba(150, 32, 108, 0.82)) !important;
  border-color: rgba(218, 80, 168, 0.28) !important;
}

/* LMS — rich slate blue, distinct from board */
.color-lms {
  background: linear-gradient(145deg,
    rgba(14, 38, 62, 0.90),
    rgba(22, 62, 96, 0.86),
    rgba(32, 92, 135, 0.82)) !important;
  border-color: rgba(80, 168, 222, 0.32) !important;
}

/* ═══════════════════════════════════════
   INSTITUTE LIST
═══════════════════════════════════════ */
.inst-list { display: flex; flex-direction: column; gap: 12px; }

.inst-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: 16px;
  background: rgba(16, 55, 50, 0.52);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
  backdrop-filter: blur(10px);
}

.inst-row::before {
  content: '';
  position: absolute; left: 0; top: 0;
  height: 100%; width: 4px;
  background: linear-gradient(180deg, #C8962A, #F5D060);
  opacity: 0; transition: opacity 0.3s ease;
  border-radius: 0 4px 4px 0;
}

.inst-row:hover {
  background: rgba(22, 72, 65, 0.85);
  border-color: rgba(245,208,96,0.32);
  transform: translateX(4px);
  box-shadow: 0 10px 28px -10px rgba(0,0,0,0.55);
}
.inst-row:hover::before { opacity: 1; }

.inst-row-num {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg,
    rgba(245,208,96,0.22), rgba(200,150,42,0.12));
  border: 1px solid rgba(245,208,96,0.38);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #F5D060;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -4px rgba(245,208,96,0.3);
}

.inst-row-name {
  flex: 1; font-size: 15.5px; font-weight: 500;
  color: #d8efec; line-height: 1.4; letter-spacing: 0.2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* SELECT button */
.inst-select-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 40px;
  background: linear-gradient(135deg, #0d4840, #165e54, #1e8272);
  border: 1px solid rgba(60,185,165,0.32);
  cursor: pointer; font-size: 13px; font-weight: 600;
  color: #fff; white-space: nowrap;
  letter-spacing: 0.5px; text-transform: uppercase;
  text-decoration: none; flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px -8px rgba(14,90,78,0.72);
  position: relative; overflow: hidden;
}
.inst-select-btn::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg,
    transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s ease;
}
.inst-select-btn:hover {
  background: linear-gradient(135deg, #165e54, #1e8272, #26a890);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 26px -8px rgba(22,118,102,0.75);
}
.inst-select-btn:hover::before { left: 100%; }
.inst-select-btn:active { transform: translateY(-1px) scale(0.98); }
.inst-select-btn svg {
  width: 16px; height: 16px;
  stroke: #fff; stroke-width: 2.5;
  transition: transform 0.3s ease;
}
.inst-select-btn:hover svg { transform: translateX(4px); }

/* ═══════════════════════════════════════
   LOADING / EMPTY STATES
═══════════════════════════════════════ */
.m-loading {
  text-align: center; padding: 48px 0;
  color: rgba(200,235,230,0.6);
  font-size: 15px; font-weight: 500;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
.m-spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(245,208,96,0.2);
  border-top-color: #F5D060;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.m-empty {
  text-align: center; padding: 48px 0;
  color: rgba(180,220,215,0.5);
  font-size: 15px; font-weight: 500;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
.m-empty svg {
  width: 56px; height: 56px;
  stroke: rgba(245,208,96,0.3);
  fill: none; stroke-width: 1.5;
}

/* ═══════════════════════════════════════
   MODAL
═══════════════════════════════════════ */
@keyframes modalFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.inst-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(4, 18, 16, 0.90);
  backdrop-filter: blur(12px);
  align-items: center; justify-content: center;
}
.inst-backdrop.open {
  display: flex;
  animation: modalFadeIn 0.2s ease both;
}

.inst-modal {
  background: linear-gradient(160deg, #0c211e 0%, #071410 100%);
  border: 1px solid rgba(245,208,96,0.28);
  border-radius: 24px;
  width: 620px; max-width: 94vw; max-height: 80vh;
  display: flex; flex-direction: column;
  box-shadow: 0 35px 80px rgba(0,0,0,0.88);
  animation: modalSlideUp 0.3s cubic-bezier(0.2,0.9,0.3,1) both;
  overflow: hidden;
}

.modal-topbar {
  height: 4px;
  background: linear-gradient(90deg,
    transparent, #C8962A, #F5D060, #C8962A, transparent);
  flex-shrink: 0;
}

.modal-head {
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(245,208,96,0.15);
  display: flex; align-items: center;
  justify-content: space-between; flex-shrink: 0;
}
.modal-head-left { display: flex; align-items: center; gap: 16px; }

.modal-type-badge {
  width: 48px; height: 48px; border-radius: 16px;
  background: rgba(245,208,96,0.1);
  border: 1px solid rgba(245,208,96,0.32);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.modal-type-badge svg {
  width: 22px; height: 22px;
  stroke: #F5D060; fill: none; stroke-width: 1.8;
}

.modal-head-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; color: #d8efec;
}
.modal-head-text p {
  font-size: 13px; color: rgba(180,225,220,0.5); margin-top: 4px;
}

.modal-close-btn {
  width: 34px; height: 34px; border-radius: 10px;
  border: none; cursor: pointer;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.5); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.modal-close-btn:hover {
  background: rgba(255,255,255,0.12); color: #fff;
}

.modal-body {
  padding: 16px 24px 24px; overflow-y: auto; flex: 1;
}
.modal-body::-webkit-scrollbar { width: 5px; }
.modal-body::-webkit-scrollbar-thumb {
  background: rgba(245,208,96,0.25); border-radius: 10px;
}

/* ═══════════════════════════════════════
   COLLEGE LIST (LMS modal)
═══════════════════════════════════════ */
.college-list { display: flex; flex-direction: column; gap: 12px; }

.college-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: 16px;
  background: rgba(16, 52, 48, 0.52);
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.college-row:hover {
  background: rgba(22, 70, 64, 0.85);
  border-color: rgba(245,208,96,0.32);
  transform: translateX(4px);
}

.college-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg,
    rgba(245,208,96,0.2), rgba(200,150,42,0.1));
  border: 1px solid rgba(245,208,96,0.32);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.college-icon svg {
  width: 20px; height: 20px;
  stroke: #F5D060; fill: none; stroke-width: 1.8;
}

.college-info { flex: 1; }
.college-name { font-size: 16px; font-weight: 600; color: #d8efec; margin-bottom: 4px; }
.college-url  { font-size: 12px; color: rgba(245,208,96,0.65); word-break: break-all; }

.college-link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 40px;
  background: linear-gradient(135deg, #0d4840, #165e54, #1e8272);
  border: 1px solid rgba(60,185,165,0.3);
  cursor: pointer; font-size: 13px; font-weight: 600;
  color: #fff; white-space: nowrap; letter-spacing: 0.5px;
  text-transform: uppercase; text-decoration: none;
  flex-shrink: 0; transition: all 0.3s ease;
  box-shadow: 0 8px 20px -8px rgba(14,90,78,0.65);
}
.college-link-btn:hover {
  background: linear-gradient(135deg, #165e54, #1e8272, #26a890);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 26px -8px rgba(22,118,102,0.75);
  color: #fff; text-decoration: none;
}
.college-link-btn svg {
  width: 16px; height: 16px;
  stroke: #fff; stroke-width: 2.5;
  transition: transform 0.3s ease;
}
.college-link-btn:hover svg { transform: translateX(4px); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .pro-layout { grid-template-columns: 1fr 240px; gap: 24px; }
}
@media (max-width: 960px) {
  html, body { overflow: auto; }
  .erp-page { flex-direction: column; height: auto; min-height: 100vh; }
  .erp-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; width: 280px;
    transform: translateX(-100%); transition: transform 0.3s ease; z-index: 100;
  }
  .erp-sidebar.open { transform: translateX(0); }
  .sb-overlay.open { display: block; }
  .sb-toggle { display: flex; }
  .erp-main { min-height: 100vh; }
  .dash-scroll { padding: 80px 20px 30px; }
  .pro-layout { grid-template-columns: 1fr; gap: 30px; }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .inst-row { flex-direction: column; align-items: flex-start; }
  .inst-select-btn { width: 100%; justify-content: center; }
  .college-row { flex-direction: column; align-items: flex-start; }
  .college-link-btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .card-grid-3 { grid-template-columns: 1fr; }
  .pro-card { min-height: 130px; }
}