.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  overflow-y: auto;
  transition: all 0.3s ease-in-out;
  padding: 20px;
}

.modal-content {
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  width: 85%;
  max-width: 80%;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #1d75d0;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ff5252;
}

.modal-content h2 {
  font-size: 24px;
  margin-bottom: 0px;
}

.modal-content p {
  font-size: 16px;
  line-height: 1.6;
}

.explore-btn {
  background-color: transparent;
  border: 1px solid #1d75d0;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;
}

.explore-btn:hover {
  background-color: #1d75d0;
  color: white;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 85vh;
    padding: 20px;
  }

  .modal-content h2 {
    font-size: 20px;
  }

  .modal-content p {
    font-size: 14px;
  }
}
