body {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  min-height: 100vh;
}

header {
  width: 100%;
  background: #003366;
  color: white;
  text-align: center;
  padding: 1rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

main {
  display: flex;
  flex: 1;
  margin-top: 80px;
}

.sidebar {
  width: 280px;
  background: #f8f9fa;
  padding: 1rem;
  border-right: 1px solid #ddd;
  position: fixed;
  top: 80px;
  bottom: 0;
  left: 0;
  overflow-y: auto;
}

.sidebar h3 {
  margin-top: 1rem;
  color: #003366;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 0.5rem 0;
}

.sidebar a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 0.4rem;
  border-radius: 5px;
  transition: background 0.2s;
}

.sidebar a:hover {
  background: #e6f0ff;
}

.policy-content {
  margin-left: 300px;
  padding: 2rem;
  flex: 1;
}

.tabs {
  display: flex;
  border-bottom: 2px solid #ddd;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tab {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  margin-right: 5px;
  background: #f1f1f1;
  border: 1px solid #ccc;
  border-bottom: none;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  transition: background 0.2s;
  position: relative;
}

.tab.active {
  background: white;
  font-weight: bold;
  border-bottom: 2px solid white;
}

.tab .close-btn {
  margin-left: 8px;
  color: #888;
  font-weight: bold;
  cursor: pointer;
}

.tab .close-btn:hover {
  color: red;
}

.tab-content {
  display: none;
  background: white;
  padding: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 0 8px 8px 8px;
  min-height: 400px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
}

.tab-content.active {
  display: block;
}

footer {
  width: 100%;
  text-align: center;
  padding: 1rem;
  background: #003366;
  color: white;
  position: fixed;
  bottom: 0;
  left: 0;
}
@media (max-width: 768px) {
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

@media (max-width: 768px) {
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

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

  .tabs {
    flex-direction: column;
  }

  .tab {
    margin-bottom: 5px;
    width: 100%;
    justify-content: space-between;
  }
}


@media (max-width: 480px) {
  header {
    font-size: 16px;
    padding: 0.8rem;
  }

  .sidebar h3 {
    font-size: 16px;
  }

  .sidebar a {
    font-size: 14px;
    padding: 0.3rem;
  }

  .policy-content {
    padding: 1rem 0.5rem;
    font-size: 14px;
  }

  .tabs {
    flex-direction: column;
  }

  .tab {
    font-size: 14px;
    padding: 0.5rem;
  }

  .tab-content {
    padding: 1rem;
    min-height: auto; 
  }

  footer {
    font-size: 14px;
    padding: 0.6rem;
  }
}


  .policy-content {
    margin-left: 0;
  }

  .tabs {
    flex-direction: column;
  }

  .tab {
    margin-bottom: 5px;
  }
}
.policy-content {
  margin-bottom: 80px; 
}

.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  margin: 8px 0;
  font-size: 16px;
}
.checklist input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}
.checklist label {
  cursor: pointer;
}