
/* Modal Styles for Video and PDF */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(10, 15, 25, 0.9); /* Black w/ opacity */
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.modal-content {
  background: rgba(30, 35, 60, 0.8);
  margin: auto;
  padding: 20px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  width: 90%;
  max-width: 1000px;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0, 229, 255, 0.2);
  transform: translateY(-50px) scale(0.9);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .modal-content {
  transform: translateY(0) scale(1);
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.close-btn:hover,
.close-btn:focus {
  color: #00e5ff;
  text-decoration: none;
  transform: rotate(90deg);
}

#media-container {
  margin-top: 20px;
  width: 100%;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-element {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  border: none;
}

.download-link {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(90deg, #00e5ff, #0099ff);
  color: #121212;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.4);
}
