.office-section {
  display: flex;
  flex-wrap: nowrap; /* prevent wrapping so columns stay side by side */
  background-color: #333;
  color: white;
  margin: 20px;
  box-sizing: border-box;
  max-height: 80vh;
  /* overflow-y: auto; */ /* remove to avoid cutting off children scroll */
  align-items: stretch; /* ensure equal height of flex children */
  height: 80vh; /* fixed height so children can stretch to it */
}

.menu-column {
  width: 20%;
  min-width: 200px;
  background-color: #333;
  padding: 2rem 1rem;
  border-right: 2px solid black;
  box-sizing: border-box;
  height: 100%; /* fill parent height */
  overflow-y: auto; /* enable scrolling */
   scrollbar-color: #ffffff #36454F; /* for Firefox */
}

.menu-column h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.menu-column ul {
  list-style: none;
}

.menu-column li {
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-top: 1px dashed #ccc;
  text-align: left;
  transition: background 0.3s ease;
}

.menu-column li:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-column li:last-child {
  border-bottom: 1px dashed #ccc;
}

.content-column {
  width: 80%;
  padding: 2rem;
  overflow-y: auto;
  scroll-behavior: smooth;
  box-sizing: border-box;
  max-height: 100%;
  height: 100%; /* fill parent height */
  background-color: #333;
  scrollbar-color: #ffffff #36454F; /* for Firefox */
}

.content-column h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  /* margin-top: 1rem; */
}
.content-column h3 {
  font-size: 1.2srem;
  margin-bottom: 1.5rem;
  text-align:left;
  /* margin-top: 1rem; */
}

.content-column p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align:left;
}

.content-column li { 
  padding: 0.5rem 1rem;
  border-top: 1px dashed #ccc;
  transition: background 0.3s ease;
  list-style-position: inside;
}

.section-title {
  margin: 20px;
  font-family: Century Gothic;
  font-size: 3.5rem;
  border-radius: 8px;
  max-width: 100%;
  padding: 0;
  font-weight: normal;
  color: #2981e5;
}

.section-subtitle {
  margin: 20px;
  font-family: Century Gothic;
  font-size: 1.5rem;
  border-radius: 8px;
  max-width: 100%;
  padding: 0;
  font-weight: normal;
  color: #2981e5;
}

/* Mobile View */
@media (max-width: 768px) {
  .office-section {
    flex-wrap: wrap;
    max-height: none;
    height: auto;
  }
  .menu-column,
  .content-column {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 2px solid black;
    overflow-y: visible; /* no scroll on mobile */
  }
  .content-column {
    padding: 1rem;
  }
}