* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #000000;
  color: #c0c0c0;
  line-height: 1.6;
  padding-bottom: 60px;
  margin: 0;
  position: relative;
}

body.light {
  background: #f0f0f0;
  color: #111;
}

main {
  margin-top: 120px;
  padding: 30px;
}

.wrapper {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.85);
}

.navbar-rounded {
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  padding: 20px 30px;
  background:#17764a60; /* Teal + semi-transparent */
  backdrop-filter: blur(10px);          /* Frosted glass effect */
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(24, 139, 43, 0.449);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.navbar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /* A bit taller than navbar */
  background: rgba(0, 0, 0, 0.25); /* Semi-transparent black */
  z-index: 950; /* Behind navbar */
  pointer-events: none; /* Allows clicks to pass through */
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 45px;
}

.navbar-title {
  font-size: 20px;
  font-weight: bold;
  color: white;
  font-family: 'Comic sans ms';
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.871);
  text-decoration: none;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 35px;
  transition: var(--transition);
}

.nav-links a:hover {
  background-color: #48c291;
}

.nav-links .active {
  background-color: rgba(161, 158, 158, 0.511);
}

.content-wrapper {
  padding-top: 150px; /* Push content below the navbar */
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.footer {
  background-color: rgba(232, 241, 233, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 30px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #121514;
}

.footer-container-glass {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
  flex-wrap: nowrap;
}

.footer-column {
  flex: 1;
  min-width: 0;
}

.left-column {
  max-width: 33%;
}

.center-column {
  max-width: 33%;
  text-align: center;
}

.right-column {
  max-width: 33%;
  text-align: right;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #056344;
}

.right-column h3 {
  margin-right: 0;
  margin-left: auto;
  transform: translateX(-30px); /* move 10px left */
}


.footer-column p,
.footer-column ul {
  font-size: 14px;
  color: #222;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #056344;
  text-decoration: none;
  transition: 0.3s ease;
  font-weight: 500;
}

.footer-column a:hover {
  color: #0f5132;
  text-decoration: underline;
}

.slideshow {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: -1;
}

.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  filter: brightness(0.8);
}

.slideshow img.active {
  opacity: 1;
}

.content {
  position: relative;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  padding: 2rem;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  max-width: 900px;
  margin: auto;
  animation: fadeInUp 1.2s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

body.light .content {
  background-color: rgba(255, 255, 255, 0.5);
  text-shadow: none;
}

h1, h2, h3 {
  color: #c0c0c0;
  font-weight: 700;
}

body.light h1,
body.light h2,
body.light h3 {
  color: #007777;
}

h1 img {
  height: 60px;
  vertical-align: middle;
  margin-right: 10px;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #c0c0c0;
}

body.light p {
  color: #222;
}

.loader {
  border: 6px solid #ccc;
  border-top: 6px solid #00ffcc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.start-btn {
  margin-top: 20px;
  background: linear-gradient(to right, #00ffcc, #0077ff);
  border: none;
  color: white;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 204, 0.3);
  text-decoration: none;
  display: inline-block;
}

.start-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 255, 204, 0.6);
}

.toggle-mode {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #00ffcc;
  color: #000;
  border: none;
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 2;
}

body.light .toggle-mode {
  background: #003366;
  color: #fff;
}

.button-wrapper {
  text-align: center;
  margin-top: 20px;
}

.custom-button {
  background-color: orange;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

.custom-button:hover {
  background-color: darkorange;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20%);
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

@media (max-width: 768px) {
  .content {
    padding: 1rem;
    font-size: 0.95rem;
  }

  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }

  .toggle-mode {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}
