/* ====== VARIABLES ====== */
:root {
  --bg: #050507;
  --card-bg: #0c0c0f;
  --text: #e6eef6;
  --muted: #a6a6b0;
  --accent: #F33F5E;
  --accent-2: #e8317a;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(0,0,0,0.6);
  --font: "Manrope", sans-serif;
}

/* ====== RESET ====== */
* { box-sizing: border-box; margin:0; padding:0; }
body { 
  font-family: var(--font);
  background: linear-gradient(180deg, #050507 0%, #0b0b0d 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ========== HEADER ========== */
.blog-header {
  position: sticky;
  top: 0;
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 50;
}
.blog-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.logo a {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  padding-left: 20px;
}
.nav-links a {
  margin-left: 1.4rem;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s;
  padding-right: 20px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-2);
}

/* ====== CONTAINER ====== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== HERO ====== */
.campus-hero {
  text-align: center;
  padding: 60px 20px 40px;
}
.campus-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
  color: var(--accent-2);
}
.campus-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

/* ========== FOOTER ========== */
.blog-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 28px 20px;
  margin-top: 48px;
  text-align: center;
  color: var(--muted);
}
.blog-footer a {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s ease;
}
.blog-footer a:hover {
  transform: translateY(-2px);
}

/* ====== SEARCH / FILTER ====== */
.search-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 10px;
}
.search-bar input,
.search-bar select {
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  background: var(--card-bg);
  color: var(--text);
  font-size: 1rem;
  outline: none;
}
.search-bar input::placeholder { color: var(--muted); }

/* ====== CAMPUS GRID ====== */
.campus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 3rem;
}

/* ====== CAMPUS CARD ====== */
.campus-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.campus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.65);
}
.campus-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--accent-2);
}
.campus-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ====== MODAL ====== */
.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 100;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-bg.active {
  display: flex;
}
.modal-content {
  background: var(--card-bg);
  border-radius: var(--radius);
  max-width: 700px;
  width: 100%;
  padding: 30px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow);
}
.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent-2);
}
.modal-content p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.modal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-2);
  cursor: pointer;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .campus-grid {
    grid-template-columns: 1fr;
  }
  .modal-content {
    padding: 20px;
  }
}
/* ====== GENERAL KNOWLEDGE LIST ====== */
.general-knowledge {
  margin: 2rem 0 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}
.general-knowledge h2 {
  font-size: 2rem;
  color: var(--accent-2);
  text-align: center;
  margin-bottom: 1.2rem;
}
.general-knowledge ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}
.general-knowledge li {
  background: var(--card);
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.6;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.general-knowledge li:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.6);
}
