/* ===== BASE ===== */
.aibe-syllabus-page {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(120deg, #eef2ff, #f8fafc);
  padding: 20px;
  color: #222;
}

/* ===== HEADER ===== */
.aibe-syllabus-header {
  background: linear-gradient(135deg, #4338ca, #7c3aed, #6366f1);
  color: white;
  padding: 28px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.aibe-syllabus-header h1 {
  font-size: 2rem;
}

.aibe-syllabus-header p {
  opacity: 0.95;
  margin-top: 8px;
}

/* ===== GRID ===== */
.aibe-subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

/* ===== CARD ===== */
.aibe-subject {
  background: white;
  padding: 18px;
  border-radius: 16px;
  transition: 0.35s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.aibe-subject:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

/* LINK */
.aibe-subject a {
  text-decoration: none;
  color: inherit;
}

/* TITLE */
.aibe-subject h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

/* TEXT */
.aibe-subject p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* TAG */
.aibe-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  color: white;
}

/* TAG COLORS */
.high {
  background: #ef4444;
}

.medium {
  background: #f59e0b;
}

.basic {
  background: #10b981;
}

/* ===== INFO ===== */
.aibe-info {
  margin-top: 35px;
  background: white;
  padding: 20px;
  border-radius: 14px;
  line-height: 1.8;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}


/* ====== PDF BUTTON ===== */
.pdf-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 18px;
  background: #4f46e5;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.pdf-btn:hover {
  background: #4338ca;
}

.pdf-btn a {
  text-decoration: none;
  color: inherit;
}

/* MOBILE */
@media (max-width: 600px) {
  .aibe-syllabus-header h1 {
    font-size: 1.5rem;
  }
}
