/* Color variables */
:root {
  --white-color: #fff;
  --bg-color: #fff;
  --gray-color: #ccc;
}
*{
  padding: 0%;
  margin: 0%;
}

/* Changing background color */
body {
  background: var(--bg-color) !important;
}
/* Push content below the fixed navbar */
body {
  padding-top: 100px; /* Adjust height based on your navbar */
}

/* Changing link color */
.nav-item .nav-link {
  color: var(--white-color);
  
}


/* contenr section */
.main-title {
  font-size: 2.8rem;
  text-align: center;
  color: #222;
  font-weight: bold;
  margin-bottom: 10px;
}

.container {
  max-width: 900px;
  margin: auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

select {
  padding: 10px 15px;
  border: 2px solid #4a90e2;
  border-radius: 6px;
  font-size: 1rem;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s;
}

select:hover {
  border-color: #357abd;
}

button {
  padding: 10px 20px;
  background-color: #4a90e2;
  border: none;
  color: white;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #357abd;
}

.topic-count {
  font-size: 0.95rem;
  color: #555;
}

.help-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.help-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  font-size: 1.05rem;
  transition: box-shadow 0.2s;
}

.help-item:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.help-item button {
  border: 1px solid #4a90e2;
  background-color: white;
  color: #4a90e2;
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .help-item {
    flex-direction: column;
    gap: 10px;
  }

  .search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  button, select {
    width: 100%;
  }

  .topic-count {
    text-align: center;
    margin-top: 5px;
  }
}
