/* Modal Wrapper */
#eduExamModal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  padding: 20px;
}

               .scholarship-buttons {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.scholarship-buttons strong {
    margin-right: 10px;
}

.scholarship-badge {
    background-color: #e0f0ff;
    color: #007bff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

.exam-modal-content {
    background-color: #fff;
    max-width: 600px;
    margin: auto;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    position: relative;
    font-family: 'Segoe UI', sans-serif;
    color: #2b2b2b;
    animation: slideIn 0.3s ease-out;
    height: 100%;
    overflow-y: auto;
}

/* Close Button */
.exam-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 24px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}
.exam-close-btn:hover {
  color: #d33;
}

/* Title */
.exam-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #111;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* Paragraphs */
.exam-details p {
  font-size: 16px;
  margin: 10px 0;
  line-height: 1.5;
}
.exam-details strong {
  color: #444;
}
.exam-details p {
  font-size: 16px;
  margin: 12px 0;
  line-height: 1.5;
  padding: 12px 15px;
  border-radius: 8px;
  background-color: #f9f9f9; /* Light background */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Alternate background for visual separation (optional) */
.exam-details p:nth-child(even) {
  background-color: #f1f5f9; /* Slightly different tone */
}

/* Bold labels */
.exam-details strong {
  display: inline-block;
  width: 160px;
  color: #333;
}
.description_div p,.description_div strong{
    all:unset;
}
.description_div p {
    display: block;
    margin-bottom: 10px;
}
.exam-details .description_div p:nth-child(even){
    background: none;
}
.description_div strong{
    font-weight: bold;
}
/* Animation */
@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
