/* Base styles: Mobile-first */
body {
  background-color: #f0f8ff; /* Light blue background */
  color: #4b0082; /* Deep purple text */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

/* Header styles */
h1, h2, h3, h4, h5, h6 {
  color: #4b0082;
  margin: 20px 0 10px;
}

/* Paragraph styling */
p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Navbar container */
.navbar {
  position: sticky;
  top: 0;
  background-color: #4b0082;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-wrap: wrap;
}

/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Label for hamburger */
.menu-label {
  display: none;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
}

/* Navigation bar styling */
ul.nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #4b0082;
  width: 100%;
  flex-wrap: wrap;
}

/* Navigation items */
ul.nav li {
  background-color: #e6e6fa; /* Light purple box */
  margin: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

ul.nav li:hover {
  background-color: #d8bfd8; /* Slight color change */
  transform: translateY(-2px); /* Slight upward movement */
  cursor: pointer;
}

ul.nav li a {
  text-decoration: none;
  color: #4b0082;
  font-weight: bold;
  display: block;
}

/* Privacy Policy Container */
.policy-container {
  background-color: #dbe3f5; /* Slightly darker light blue */
  color: #4b0082;
  padding: 25px;
  margin: 20px auto;
  border-radius: 10px;
  max-width: 900px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  text-align: left;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .menu-label {
    display: block;
  }

  ul.nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #4b0082;
  }

  #menu-toggle:checked + .menu-label + ul.nav {
    display: flex;
  }

  ul.nav li {
    margin: 10px auto;
  }
}

@media (max-width: 600px) {
  .policy-container {
    padding: 15px;
    margin: 10px;
    text-align: center;
  }

  .policy-container ul {
    text-align: left;
    display: inline-block;
  }
}

/* Footer styling */
footer {
  margin-top: 40px;
  padding: 15px;
  background-color: #ffffff;
  border-top: 2px solid #4b0082;
  color: #4b0082;
  font-size: 0.9em;
}

footer a {
  color: #4b0082;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}