/* ===== EXAMINATION PAGE STYLES ===== */

.exam-intro {
  padding: 48px 0 24px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.exam-intro .intro-text {
  font-size: 15.5px;
  line-height: 1.9;
  color: #555;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

/* QUICK JUMP PILLS */
.exam-jump-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.exam-jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(128, 22, 18, 0.06);
  border: 1.5px solid rgba(128, 22, 18, 0.18);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.exam-jump-pill:hover {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 22, 18, 0.2);
}

.exam-jump-pill i {
  color: var(--accent);
  transition: color 0.2s;
}

.exam-jump-pill:hover i {
  color: #fff;
}

/* SECTION STRUCTURE */
.exam-section {
  padding: 60px 0;
}

.exam-section.bg-light {
  background: var(--light-bg);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.exam-section.bg-white {
  background: var(--white);
}

.section-title {
  font-family: 'Merriweather', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 24px;
}

.section-subtitle-text {
  font-size: 15px;
  color: #666;
  margin-bottom: 32px;
  max-width: 800px;
  line-height: 1.7;
}

/* TIMETABLE CARDS GRID */
.exam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
}

/* TIMETABLE CARD */
.exam-card {
  background: var(--white);
  border: 1px solid rgba(128, 22, 18, 0.1);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.exam-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(128, 22, 18, 0.1);
  border-color: rgba(128, 22, 18, 0.25);
}

.exam-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.exam-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  background: rgba(128, 22, 18, 0.08);
  color: var(--primary);
  border: 1px solid rgba(128, 22, 18, 0.15);
}

.exam-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.exam-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.exam-badge.badge-primary {
  background: #fdf2f2;
  color: var(--primary);
  border: 1px solid rgba(128, 22, 18, 0.2);
}

.exam-badge.badge-accent {
  background: #fff8e8;
  color: #b7791f;
  border: 1px solid rgba(245, 166, 35, 0.35);
}

.exam-badge.badge-blue {
  background: #ebf5fb;
  color: #2471a3;
  border: 1px solid rgba(41, 128, 185, 0.25);
}

.exam-badge.badge-green {
  background: #eafaf1;
  color: #229954;
  border: 1px solid rgba(39, 174, 96, 0.25);
}

.exam-card h3 {
  font-family: 'Merriweather', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.exam-card-desc {
  font-size: 13.5px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.exam-card-footer {
  border-top: 1px dashed #eee;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.exam-card-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-exam-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(128, 22, 18, 0.2);
}

.btn-exam-pdf:hover {
  background: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 22, 18, 0.35);
}

/* NOTICES SECTION STYLES */
.notices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.notice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: all 0.25s ease;
}

.notice-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.notice-card.border-accent {
  border-left: 4px solid var(--accent);
}

.notice-card.border-primary {
  border-left: 4px solid var(--primary);
}

.notice-card.border-blue {
  border-left: 4px solid #2980b9;
}

.notice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.notice-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 12px;
}

.notice-tag.urgent {
  background: #fdf2f2;
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.2);
}

.notice-tag.info {
  background: #ebf5fb;
  color: #2471a3;
  border: 1px solid rgba(41, 128, 185, 0.25);
}

.notice-tag.rules {
  background: #fff8e8;
  color: #b7791f;
  border: 1px solid rgba(245, 166, 35, 0.35);
}

.notice-date {
  font-size: 12.5px;
  color: var(--muted);
}

.notice-card h4 {
  font-family: 'Merriweather', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.45;
}

.notice-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 14px;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.notice-list li {
  font-size: 13.5px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

.notice-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: bold;
}

/* HELPDESK & GUIDELINES BOX */
.exam-helpdesk-box {
  background: linear-gradient(135deg, #fdfbf9 0%, #f7f2ed 100%);
  border: 1.5px solid rgba(128, 22, 18, 0.15);
  border-radius: 8px;
  padding: 32px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: center;
}

.exam-helpdesk-info h3 {
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.exam-helpdesk-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

.exam-helpdesk-contacts {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  font-size: 13.5px;
  color: #444;
  line-height: 1.8;
}

.exam-helpdesk-contacts strong {
  color: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .exam-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .exam-helpdesk-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 24px;
  }

  .exam-grid {
    grid-template-columns: 1fr;
  }

  .notices-grid {
    grid-template-columns: 1fr;
  }

  .exam-jump-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .exam-jump-pill {
    justify-content: center;
  }
}
