/* Construction Page Styles */

*{
    font-family: 'Gill Sans';
}

 /* Fixed Header Styles */
  nav.fixed-header {
    position: fixed !important;
    top: 0;
    z-index: 1000;
    display: flex !important; 
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    /* padding: 12px; */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* width: 100%; */
    box-sizing: border-box;
  }
  
  /* Main content wrapper to account for fixed header */
  .main-content {
    margin-top: 80px; /* Adjust this value based on your header height */
  }


  /* For other pages (like resources.html), ensure first content has top margin */
.page-content {
  margin-top: 80px;
  min-height: calc(100vh - 160px); /* Viewport height minus header and footer */
  padding: 40px 20px;
}

/* Specific fix for resources page or similar pages */
.resources-page {
  margin-top: 80px;
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #f8f9fa;
}

   nav {
    display: flex !important; 
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 12px;
  }
.construction-section {
  min-height: calc(100vh - 120px);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.construction-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="construction-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(37,99,235,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23construction-grid)"/></svg>');
  opacity: 0.5;

}

.construction-container {
  max-width: 800px;
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
}

.construction-content {
  flex: 1;
  text-align: center;
}

.construction-icon {
  font-size: 4rem;
  color: #2563eb;
  margin-bottom: 30px;
  animation: bounce 2s infinite;
}

.construction-content h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 10px;
}

.construction-content h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 20px;
}

.construction-message {
  font-size: 1.5rem;
  color: #ea580c;
  font-weight: 600;
  margin-bottom: 25px;
  font-style: italic;
}

.construction-description {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  text-decoration: none;
  color: white;
}

.back-button:active {
  transform: translateY(0);
}

/* Construction Animation */
.construction-animation {
  flex: 0 0 200px;
  position: relative;
  height: 200px;
}

.gear {
  position: absolute;
  color: #cbd5e1;
  animation: rotate 4s linear infinite;
}

.gear1 {
  font-size: 3rem;
  top: 20px;
  left: 20px;
  animation-duration: 4s;
}

.gear2 {
  font-size: 2rem;
  top: 80px;
  right: 30px;
  animation-duration: 3s;
  animation-direction: reverse;
}

.gear3 {
  font-size: 2.5rem;
  bottom: 30px;
  left: 50px;
  animation-duration: 5s;
}

/* Animations */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Navigation Active State */
.nav-links a.active {
  color: #ea580c;
  font-weight: 600;
}

.mobile-menu a.active {
  color: #ea580c;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .construction-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .construction-content h1 {
    font-size: 2.5rem;
  }

  .construction-content h2 {
    font-size: 1.75rem;
  }

  .construction-message {
    font-size: 1.25rem;
  }

  .construction-description {
    font-size: 1rem;
  }

  .construction-animation {
    flex: 0 0 150px;
    height: 150px;
  }

  .gear1 {
    font-size: 2.5rem;
  }

  .gear2 {
    font-size: 1.5rem;
  }

  .gear3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .construction-section {
    padding: 40px 15px;
  }

  .construction-content h1 {
    font-size: 2rem;
  }

  .construction-content h2 {
    font-size: 1.5rem;
  }

  .construction-message {
    font-size: 1.1rem;
  }

  .back-button {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .construction-animation {
    flex: 0 0 120px;
    height: 120px;
  }
}

/* Loading dots animation for extra visual appeal */
.construction-content::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #ea580c;
  margin-left: 10px;
  animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
  0%,
  20% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
