/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: "Segoe UI", sans-serif;
  background: #f4f4f4;
  color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: #003049;
  padding: 1rem;
  z-index: 1000;
  transition: transform 0.3s ease;
}
.sidebar .logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2rem;
}
.sidebar .logo-name {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: white;
}

.sidebar .nav-links li {
  margin: 1rem 0;
}
.sidebar .nav-links a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  transition: background 0.3s;
}
.sidebar .nav-links a:hover {
  background: #005577;
}

/* Hamburger */
.hamburger {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  font-size: 28px;
  z-index: 1001;
  color: #dae4e9;
  cursor: pointer;
}

/* Main Layout */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main.main-content {
  flex: 1;
  margin-left: 250px;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* Spline Background */
.spline-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}
spline-viewer {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Footer */
footer.section {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  padding: 1rem 0;
  background: #f4f4f4;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  right: 20px;
  bottom: 70px;
  background: #003049;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 999;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }

  .hamburger {
    display: block;
  }

  .main-content {
    margin-left: 0;
    padding: 1rem;
  }

  .sidebar .logo-name {
    font-size: 1rem;
  }

  .sidebar .nav-links a {
    padding: 0.5rem 0.8rem;
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  spline-viewer {
    height: 95vh;
  }
}


