/* ===========================================================================
   Reset & Base Styles
   =========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}

/* ===========================================================================
   Navigation Bar
   =========================================================================== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0056b3;
  padding: 15px 40px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li {
  position: relative;
}

nav a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

nav a.active,
nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ===========================================================================
   Dropdown Menu
   =========================================================================== */
nav ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  min-width: 200px;
  z-index: 10;
}

nav ul li:hover .dropdown {
  display: block;
}

.dropdown li {
  border-bottom: 1px solid #eaeaea;
}

.dropdown li:last-child {
  border-bottom: none;
}

.dropdown a {
  color: #333;
  padding: 12px 16px;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown a:hover {
  background-color: #f4f4f4;
}

/* ===========================================================================
   Main Content Area
   =========================================================================== */
main {
  width: 80%;
  max-width: 1100px;
  margin: 50px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

/* ===========================================================================
   Typography: Headings & Paragraphs
   =========================================================================== */
h1 {
  font-size: 2.2rem;
  text-align: center;
  color: #0056b3;
  margin-bottom: 15px;
}

h2 {
  font-size: 1.8rem;
  margin-top: 30px;
  color: #003366;
  border-bottom: 2px solid #0056b3;
  padding-bottom: 5px;
}

p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 20px;
  text-align: left;
}

/* ===========================================================================
   Logo & Branding
   =========================================================================== */
.logo-container {
  display: flex;
  justify-content: center;
  margin: 30px auto;
}

.trello-logo {
  max-width: 180px;
  height: auto;
  display: block;
}

/* ===========================================================================
   Tables: Styling
   =========================================================================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  text-align: left;
}

th, td {
  padding: 12px;
  border: 1px solid #ddd;
}

th {
  background-color: #0056b3;
  color: #ffffff;
}

tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* ===========================================================================
   Code Snippets & Formatting
   =========================================================================== */
pre {
  background: #f4f4f4;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  overflow-x: auto;
}

code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  color: #d63384;
  background-color: #f8f8f8;
  padding: 3px 6px;
  border-radius: 4px;
}

/* ===========================================================================
   Footer
   =========================================================================== */
footer {
  background-color: #f8f8f8;
  color: #333;
  padding: 25px;
  text-align: center;
  font-size: 0.9rem;
  border-top: 2px solid #ddd;
  margin-top: 40px;
}
.small-image {
    max-width: 100%;
    width: 500px; /* Adjust this value as needed */
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Table of Contents Styling */
.toc {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.toc h2 {
    font-size: 1.4em;
    color: #1B263B;
    margin-bottom: 10px;
}

.toc ul {
    list-style-type: none;
    padding-left: 0;
}

.toc ul li {
    margin-bottom: 8px;
    font-size: 1em;
}

.toc ul li a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
}

.toc ul li a:hover {
    text-decoration: underline;
}

/* Subsections inside ToC */
.toc ul ul {
    padding-left: 20px;
    font-size: 0.95em;
}
