.top-bar {
  background-color: #333;
  color: #fff;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content within the top bar */
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%; /* Restrict container width to 80% */
}

.top-bar h1, .top-bar p {
  margin: 0;
}

.sticky-nav {
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  top: 0;
  background-color: #444;
  z-index: 1000; /* Ensure it stays above other content */
  padding: 0px 0;
  justify-content: center; /* Center content within the sticky nav */
}

.sticky-nav .container {
  width: 80%; /* Restrict container width to 80% */
  display: flex;
  justify-content: center;
}

.sticky-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

.sticky-nav ul li {
  margin: 0 20px;
}

.sticky-nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  display: block;
}

.logo {
  margin-right: 20px;
}

/* Responsive styling */
@media (max-width: 768px) {
  .top-bar .container,
  .sticky-nav .container {
    width: 100%; /* Full width on mobile */
  }
}
