/* PHIHTBS — Main Stylesheet */
/* Brand: Deep Blue #0a2a6e | Gold #f5c200 | Purple #6b2fa0 | White */

:root {
  --blue-dark: #0a2a6e;
  --blue-main: #0d3591;
  --blue-light: #1a4db8;
  --blue-pale: #e8effe;
  --gold: #f5c200;
  --gold-dark: #c9a000;
  --purple: #6b2fa0;
  --purple-light: #f0eafa;
  --white: #ffffff;
  --gray-50: #f8f9fc;
  --gray-100: #f0f2f8;
  --gray-200: #dde2ef;
  --gray-400: #8a93b2;
  --gray-600: #4a5270;
  --gray-800: #1e2240;
  --text: #1e2240;
  --text-muted: #5a6282;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(13,53,145,0.08);
  --shadow-lg: 0 8px 32px rgba(13,53,145,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue-main); text-decoration: none; }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }

/* ─── TOPBAR ─── */
.topbar {
  background: var(--blue-dark);
  padding: 6px 0;
  font-size: 12px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar span, .topbar a { color: rgba(255,255,255,0.75); }
.topbar a:hover { color: var(--gold); }
.topbar .top-links { display: flex; gap: 16px; align-items: center; }
.lang-btn {
  background: transparent;
  border: 1px solid rgba(245,194,0,0.5);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.lang-btn:hover { background: var(--gold); color: var(--blue-dark); }
.lang-btn.active { background: var(--gold); color: var(--blue-dark); }

/* ─── NAVBAR ─── */
.navbar {
  background: var(--blue-main);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.navbar-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.brand-name { color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.2; }
.brand-sub { color: rgba(255,255,255,0.6); font-size: 10px; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { background: rgba(255,255,255,0.1); color: var(--gold); }
.btn-apply {
  background: var(--gold);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-apply:hover { background: var(--gold-dark); transform: translateY(-1px); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 4px 0; border-radius: 2px; transition: 0.3s; }

/* ─── HERO ─── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroPhotoZoom {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes kenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}
@keyframes galleryReveal {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 55%, var(--blue-light) 100%);
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.hero::after {
  content: '';
  position: absolute;
  right: 80px; bottom: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(245,194,0,0.05);
}
.hero .container {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-content { max-width: 600px; animation: heroFadeUp 0.7s ease-out both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,194,0,0.12);
  border: 1px solid rgba(245,194,0,0.35);
  color: var(--gold);
  font-size: 11px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px;
  margin-bottom: 16px; letter-spacing: 0.3px;
  animation: heroFadeUp 0.6s ease-out both;
}
.hero h1 {
  color: var(--white);
  font-size: 36px; font-weight: 800; line-height: 1.25;
  margin-bottom: 16px;
  animation: heroFadeUp 0.7s ease-out 0.08s both;
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.7; margin-bottom: 28px;
  animation: heroFadeUp 0.7s ease-out 0.16s both;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; animation: heroFadeUp 0.7s ease-out 0.24s both; }
.btn-hero-primary {
  background: var(--gold); color: var(--blue-dark);
  font-weight: 700; font-size: 14px;
  padding: 13px 28px; border-radius: var(--radius);
  border: none; cursor: pointer; transition: all 0.2s;
}
.btn-hero-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-hero-outline {
  background: transparent; color: var(--white);
  font-size: 14px; padding: 13px 28px;
  border-radius: var(--radius); border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer; transition: all 0.2s;
}
.btn-hero-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.hero-stats {
  display: flex; gap: 36px; margin-top: 36px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  animation: heroFadeUp 0.7s ease-out 0.32s both;
}
.stat-num { font-size: 28px; font-weight: 800; color: var(--gold); }
.stat-lbl { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 2px; }

.hero-photo-wrap {
  position: relative;
  animation: heroPhotoZoom 0.9s ease-out 0.15s both;
}
.hero-photo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(4, 22, 60, 0.45);
  aspect-ratio: 4/3;
}
.hero-photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  animation: kenBurns 16s ease-in-out infinite alternate;
}
.hero-photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,22,60,0) 55%, rgba(4,22,60,0.55) 100%);
}
.hero-photo-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: rgba(255,255,255,0.97);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  animation: heroFadeIn 0.8s ease-out 0.6s both;
}
.hero-photo-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.hero-photo-badge span {
  font-size: 12px; font-weight: 700; color: var(--blue-dark);
}
.hero-photo-float {
  position: absolute; top: -18px; right: -18px; z-index: 2;
  width: 110px; height: 84px;
  border-radius: 10px; overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 12px 28px rgba(4,22,60,0.35);
  animation: heroFadeUp 0.8s ease-out 0.45s both;
}
.hero-photo-float img { width: 100%; height: 100%; object-fit: cover; display: block; animation: kenBurns 12s ease-in-out infinite alternate-reverse; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-photo-wrap { order: -1; max-width: 480px; margin: 0 auto; }
  .hero-photo-float { display: none; }
}

/* ─── CAMPUS GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 420px;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: default;
  animation: galleryReveal 0.6s ease-out both;
}
.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.18s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-large { grid-row: 1 / 3; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,22,60,0) 60%, rgba(4,22,60,0.65) 100%);
}
.gallery-caption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  color: var(--white); font-size: 13px; font-weight: 600;
}
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .gallery-large { grid-row: auto; height: 240px; }
  .gallery-item { height: 200px; }
}

/* ─── NOTICE BAR ─── */
.notice-bar {
  background: var(--gold);
  padding: 12px 0;
}
.notice-bar .container { display: flex; align-items: center; gap: 12px; }
.notice-tag {
  background: var(--blue-dark); color: var(--gold);
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 12px;
  white-space: nowrap; letter-spacing: 0.5px;
}
.notice-bar p { font-size: 13px; color: var(--blue-dark); font-weight: 500; flex: 1; }
.notice-bar a { font-size: 12px; color: var(--blue-dark); font-weight: 700; white-space: nowrap; }

/* ─── LAYOUT ─── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header .accent {
  display: inline-block; width: 48px; height: 4px;
  background: var(--gold); border-radius: 2px; margin-bottom: 12px;
}
.section-header h2 { font-size: 28px; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.section-header p { font-size: 15px; color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.about-text .accred { font-size: 12px; color: var(--blue-main); font-weight: 600; margin-top: 16px; padding: 8px 12px; background: var(--blue-pale); border-radius: var(--radius); border-left: 3px solid var(--blue-main); }
.about-badges { display: flex; flex-direction: column; gap: 12px; }
.about-badge {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 14px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  box-shadow: var(--shadow);
}
.badge-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--blue-pale); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.badge-title { font-size: 13px; font-weight: 600; color: var(--text); }
.badge-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─── PROGRAMMES ─── */
.dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.dept-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 20px;
  transition: all 0.25s; cursor: pointer;
  box-shadow: var(--shadow);
}
.dept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-main); }
.dept-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 12px;
}
.dept-card h3 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.4; }
.dept-card p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.dept-count { font-size: 11px; color: var(--blue-main); font-weight: 600; margin-top: 10px; }

/* ─── FEES ─── */
.fee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.fee-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 20px; text-align: center;
}
.fee-card.featured { border-color: var(--blue-main); background: var(--blue-pale); }
.fee-label { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.fee-amount { font-size: 24px; font-weight: 800; color: var(--blue-main); }
.fee-currency { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.fee-note { text-align: center; margin-top: 16px; font-size: 12px; color: var(--text-muted); }

/* ─── NEWS ─── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.news-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.2s; box-shadow: var(--shadow);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-thumb {
  height: 160px; object-fit: cover; width: 100%;
  background: var(--blue-pale); display: flex;
  align-items: center; justify-content: center;
  font-size: 40px;
}
.news-body { padding: 16px; }
.news-cat {
  font-size: 10px; font-weight: 700; padding: 3px 9px;
  border-radius: 10px; display: inline-block; margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.cat-news { background: #e8f0fe; color: #0d3591; }
.cat-event { background: #e8f5e9; color: #1b7a40; }
.cat-announcement { background: #fffbe6; color: #8a6000; }
.cat-admission { background: var(--purple-light); color: var(--purple); }
.news-card h4 { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.5; margin-bottom: 6px; }
.news-date { font-size: 11px; color: var(--text-muted); }
.news-read { font-size: 12px; color: var(--blue-main); font-weight: 600; margin-top: 8px; display: block; }

/* ─── ADMISSION CTA ─── */
.admission-cta {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.admission-cta h2 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.admission-cta p { color: rgba(255,255,255,0.7); font-size: 13px; line-height: 1.7; }
.adm-locations { margin-top: 14px; }
.adm-locations li {
  color: rgba(255,255,255,0.7); font-size: 13px;
  padding: 4px 0;
  display: flex; align-items: center; gap: 8px;
}
.adm-locations li::before { content: '📍'; font-size: 12px; }
.adm-actions { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.btn-gold {
  background: var(--gold); color: var(--blue-dark);
  font-weight: 700; font-size: 13px;
  padding: 12px 20px; border-radius: var(--radius);
  border: none; cursor: pointer; text-align: center; display: block;
  transition: all 0.2s;
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline-white {
  background: transparent; color: var(--white);
  font-size: 13px; padding: 12px 20px;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer; text-align: center; display: block; transition: all 0.2s;
}
.btn-outline-white:hover { border-color: var(--white); }

/* ─── PARTNERS ─── */
.partners-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.partner-pill {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 7px 16px;
  font-size: 12px; color: var(--text-muted);
  box-shadow: var(--shadow);
}

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--gray-100);
}
.ci-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.ci-label { font-size: 11px; color: var(--text-muted); }
.ci-val { font-size: 13px; font-weight: 600; color: var(--text); margin-top: 2px; line-height: 1.5; }

/* Contact Form */
.contact-form { background: var(--gray-50); border-radius: var(--radius-lg); padding: 28px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-size: 13px; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-main); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  background: var(--blue-main); color: var(--white);
  font-size: 13px; font-weight: 700;
  padding: 12px 24px; border-radius: var(--radius);
  border: none; cursor: pointer; width: 100%;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--blue-dark); }

/* ─── FOOTER ─── */
.footer { background: #04102e; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); }
.footer-logo span { color: var(--gold); font-size: 14px; font-weight: 700; }
.footer-about { color: rgba(255,255,255,0.5); font-size: 12px; line-height: 1.8; }
.footer h4 { color: var(--gold); font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 12px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { color: rgba(255,255,255,0.5); font-size: 12px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 11px; }
.accred-badge {
  background: var(--blue-main); color: rgba(255,255,255,0.6);
  font-size: 10px; font-weight: 600;
  padding: 4px 10px; border-radius: 4px; letter-spacing: 0.3px;
}

/* ─── ADMIN PANEL ─── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; background: var(--blue-dark);
  padding: 0; flex-shrink: 0;
  position: fixed; top: 0; left: 0; height: 100vh;
  overflow-y: auto;
}
.admin-sidebar-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 10px;
}
.admin-sidebar-logo img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--gold); }
.admin-sidebar-logo span { color: var(--gold); font-size: 12px; font-weight: 700; line-height: 1.3; }
.admin-nav { padding: 12px 0; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.65);
  padding: 10px 20px; font-size: 13px;
  transition: all 0.2s; border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,0.06);
  color: var(--gold); border-left-color: var(--gold);
}
.admin-nav .nav-icon { font-size: 16px; }
.admin-main { margin-left: 240px; flex: 1; background: var(--gray-50); min-height: 100vh; }
.admin-topbar {
  background: var(--white); padding: 14px 28px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 10;
}
.admin-topbar h1 { font-size: 18px; font-weight: 700; color: var(--text); }
.admin-content { padding: 28px; }

/* Admin Cards */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.admin-stat-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 20px; border: 1px solid var(--gray-200);
}
.admin-stat-card .stat-label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.admin-stat-card .stat-value { font-size: 28px; font-weight: 800; color: var(--blue-main); }

/* Admin Table */
.admin-table-wrap { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); overflow: hidden; }
.admin-table-header { padding: 16px 20px; border-bottom: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; }
.admin-table-header h3 { font-size: 15px; font-weight: 700; }
.btn-new {
  background: var(--blue-main); color: var(--white);
  font-size: 12px; font-weight: 600; padding: 7px 16px;
  border-radius: var(--radius); border: none; cursor: pointer;
}
table { width: 100%; border-collapse: collapse; }
th { background: var(--gray-50); font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; padding: 10px 16px; text-align: left; }
td { padding: 12px 16px; font-size: 13px; color: var(--text); border-top: 1px solid var(--gray-100); }
tr:hover td { background: var(--gray-50); }
.badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 10px; }
.badge-published { background: #e8f5e9; color: #1b7a40; }
.badge-draft { background: var(--gray-100); color: var(--text-muted); }
.badge-pending { background: #fffbe6; color: #8a6000; }
.badge-admitted { background: #e8f0fe; color: #0d3591; }
.badge-rejected { background: #fde8e8; color: #a00000; }
.btn-edit { background: var(--blue-pale); color: var(--blue-main); border: none; border-radius: 4px; padding: 4px 10px; font-size: 11px; font-weight: 600; cursor: pointer; }
.btn-del { background: #fde8e8; color: #a00000; border: none; border-radius: 4px; padding: 4px 10px; font-size: 11px; font-weight: 600; cursor: pointer; }

/* Post Editor */
.editor-wrap { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); padding: 24px; }
.editor-wrap h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }

/* ─── STUDENT PORTAL ─── */
.portal-layout { display: flex; min-height: 100vh; }
.portal-sidebar {
  width: 220px; background: var(--blue-dark);
  flex-shrink: 0; padding: 0;
  position: fixed; top: 0; left: 0; height: 100vh;
}
.portal-main { margin-left: 220px; flex: 1; background: var(--gray-50); }
.portal-content { padding: 28px; }
.portal-login-wrap {
  max-width: 400px; margin: 80px auto;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}
.portal-login-logo { text-align: center; margin-bottom: 24px; }
.portal-login-logo img { width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--gold); }
.portal-login-logo h2 { font-size: 18px; font-weight: 700; margin-top: 10px; }
.portal-login-logo p { font-size: 12px; color: var(--text-muted); }

/* ─── ALERTS ─── */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 13px; margin-bottom: 16px; }
.alert-success { background: #e8f5e9; color: #1b7a40; border: 1px solid #c8e6c9; }
.alert-error { background: #fde8e8; color: #a00000; border: 1px solid #f5c6c6; }
.alert-info { background: var(--blue-pale); color: var(--blue-main); border: 1px solid var(--gray-200); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero h1 { font-size: 26px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admission-cta { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--blue-dark); padding: 12px; }
  .hamburger { display: block; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .section { padding: 40px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .admin-sidebar, .portal-sidebar { width: 100%; height: auto; position: relative; }
  .admin-main, .portal-main { margin-left: 0; }
}
