/* Container styling */
.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}
/* Section headings */
.page-container h3 {
  font-size: 2rem;
  color: #ac1f24;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ac1f24;
  padding-bottom: 0.5rem;
}
/* Mission list */
.m-list {
  list-style: none;
  counter-reset: m-counter;
  padding-left: 0;
}
.m-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  background-color: #fff;
  border-left: 4px solid #ac1f24;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.m-list li::before {
  counter-increment: m-counter;
  content: "M" counter(m-counter);
  position: absolute;
  left: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ac1f24;
  color: #fff;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: left;
  border-radius: 50%;
  font-weight: bold;
}
.m-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* PEO list styling (badge + hover) */
.peo-container p {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  background-color: #fff;
  border-left: 4px solid #ac1f24;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.peo-container p span {
  position: absolute;
  left: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  background-color: #ac1f24;
  color: #fff;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: left;
  border-radius: 50%;
  font-weight: bold;
}
.peo-container p:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* PO list styling (badge + hover) */
.po-container p {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  background-color: #fff;
  border-left: 4px solid #ac1f24;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.po-container p span {
  position: absolute;
  left: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  background-color: #ac1f24;
  color: #fff;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: left;
  border-radius: 50%;
  font-weight: bold;
}
.po-container p:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Mapping tables styling */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
}
.table-container table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.table-container th, .table-container td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: center;
}
.table-container th {
  background-color: #ac1f24;
  color: #fff;
  font-weight: normal;
}
.table-container tr:nth-child(even) {
  background-color: #f9f9f9;
}
/* Knowledge Profile table */
.k-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.k-table th, .k-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
}
.k-table th {
  background-color: #ac1f24;
  color: #fff;
  text-align: left;
}
.k-table tr:nth-child(even) {
  background-color: #f9f9f9;
}
/* Responsive adjustments */
@media (max-width: 600px) {
  .page-container h3 {
    font-size: 1.5rem;
  }
  .m-list li, .peo-container p, .po-container p {
    padding-left: 2.5rem;
  }
  .m-list li::before, .peo-container p span, .po-container p span {
    width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
    font-size: 0.9rem;
    left: -1.25rem;
  }
  .table-container th, .table-container td, .k-table th, .k-table td {
    padding: 0.5rem;
  }
}
