.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 30px;
  width: 80%;
  max-width: 700px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  color: #333; /* Base text color for all content */
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}
/* Corrected selector - changed 'modAL' to 'modal' */
.modal p {
  line-height: 1.6;
  color: #333; /* Explicitly set text color (optional but recommended) */
}

.close-modal:hover {
  color: #000;
}

.modal h3 {
  color: #007bff;
  margin-bottom: 20px;
}

.modal p {
  line-height: 1.6;
  margin: 15px 0; /* Added spacing for better readability */
}