body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  min-height: 100vh;
}

h2 {
  margin-top: 20px;
  color: #343a40;
  font-weight: 600;
}

h5 {
  color: #495057;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

h5:first-of-type {
  margin-top: 0;
}

pre {
  background: #212529;
  color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  border-left: 4px solid #0d6efd;
}

code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
}

.accordion-button {
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  background-color: #e7f1ff;
  color: #0d6efd;
}

.accordion-body {
  background-color: #ffffff;
}

.card {
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.5rem;
}

/* Code block styling */
pre code {
  color: #f8f9fa;
}

/* Q&A styling */
.qa-section {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  margin: 15px 0;
}

.qa-section strong {
  color: #0d6efd;
}

/* Best practices list styling */
ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }
  
  h1 {
    font-size: 1.75rem;
  }
}
