/* CONSTRUCTION BANNER & TEMPORARY ELEMENTS
   CSS MOVED TO css/style-temp.css
   This includes construction banner, footer disclaimer, and other temporary UI elements
*/


/* CERTIFICATE MODAL */
.cert-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cert-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.cert-modal-content {
  position: relative;
  z-index: 10001;
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  height: 85vh;
  max-height: 800px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
  will-change: transform;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#certIframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.cert-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #333;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 10002;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

/* CERTIFICATE CLICKABLE CARDS */
.cert-clickable {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.cert-clickable:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cert-clickable::after {
  content: '🔍 Click to view';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.cert-clickable:hover::after {
  opacity: 1;
}

/* ICONSONCERTIFICATIONS */
.iconsOnCertifications{
  width: 100px;
  height: 100px;
}

.bg-fill {
  background-color: #f0f0f0; /* Light gray background */
  padding: 10px; /* Optional padding around the image */
  border-radius: 80px; /* Optional rounded corners */
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .construction-content {
    flex-direction: column;
    gap: 8px;
  }

  .construction-text {
    font-size: 13px;
  }

  .cert-modal-content {
    width: 95%;
    height: 90vh;
    max-height: 600px;
  }

  .footer-disclaimer p {
    font-size: 12px;
  }
}