.landing-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent; 
  z-index: 9999; 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.landing-page.hidden {
  opacity: 0;
  pointer-events: none;
}

.landing-content {
  text-align: center;
  color: #0A0F15;
}

.landing-content h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.landing-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.landing-logo {
  max-width: 250px;
  margin-bottom: 20px;
}

/* Animation for landing page elements */
.landing-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.landing-content img {
  animation-delay: 0.3s;
}

.landing-content h1 {
  animation-delay: 0.6s;
}

.landing-content p {
  animation-delay: 0.9s;
}

.landing-content button {
  animation-delay: 1.2s;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border: none;
  border-radius: 50px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: #fff;
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.landing-content button:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-2px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Interactive Background Styles */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, #ffffff 0%, #e0f7ff 100%);
  z-index: -1;
}

body.landing-active header {
  display: none;
}

/* SidebarBTN for landingpage */
.open-sidebar-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100000; 
  pointer-events: auto;
}

.sidebar-container {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100001; 
  pointer-events: auto;
}

/* Adjust the logo for canvas*/
#logoCanvas {
  display: block;
  margin: 0 auto 20px;
  max-width: 250px;
}

/* Hides the landing page when a modal is opened */
body.modal-open .landing-page {
  display: none;
}
