/* CONSTRUCTION BANNER */
.construction-banner {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e72 50%, #ffa366 100%);
  color: white;
  padding: 16px 20px;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(255, 107, 107, 0.4), 0 0 20px rgba(255, 174, 102, 0.2);
  animation: slideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-bottom: 3px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.construction-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.construction-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.construction-icon {
  font-size: 24px;
  animation: wobble 2s infinite, pulse 2s infinite;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-8deg) scale(1.05); }
  75% { transform: rotate(8deg) scale(1.05); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.construction-text {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  min-width: 200px;
  text-align: center;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body {
  padding-top: 0;
}

body.construction-closed {
  padding-top: 0;
}

/* FOOTER DISCLAIMER */
.footer-disclaimer {
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
  border-top: 3px solid #ff8e72;
  border-bottom: 3px solid #ff8e72;
  padding: 28px 20px;
  text-align: center;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -4px 12px rgba(255, 174, 102, 0.15);
}

.footer-disclaimer::before {
  content: '⚠️';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  opacity: 0.12;
  animation: slowFloat 4s ease-in-out infinite;
}

@keyframes slowFloat {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(8px); }
}

.footer-disclaimer::after {
  content: '⚠️';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  opacity: 0.12;
  animation: slowFloat 4s ease-in-out infinite reverse;
}

.footer-disclaimer p {
  margin: 0;
  color: #c9302c;
  font-size: 14px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.footer-disclaimer strong {
  color: #a02622;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 13px;
  animation: highlight 2s ease-in-out infinite;
}

@keyframes highlight {
  0%, 100% { 
    text-shadow: 0 0 0 rgba(255, 174, 102, 0);
  }
  50% { 
    text-shadow: 0 0 8px rgba(255, 174, 102, 0.6);
  }
}

.footer-disclaimer p::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #ff8e72, #ffa366);
  border-radius: 50%;
  margin: 0 12px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(255, 174, 102, 0.5);
}

.footer-disclaimer p::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #ff8e72, #ffa366);
  border-radius: 50%;
  margin: 0 12px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(255, 174, 102, 0.5);
}

/* 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;
}

@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);
  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;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#certIframe {
  width: 100%;
  height: 100%;
  border: none;
}

.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;
  }
}