
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}

.header-section {
  background-color: #f8f8f5;
  padding: 40px 30px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-left {
  max-width: 300px;
  height: auto;
}

.intro-text {
  max-width: 700px;
  text-align: center;
}

.intro-text h1 {
  font-size: 2.4em;
  margin-bottom: 10px;
  color: #003559;
}

.intro-text .moniker {
  font-size: 1.1em;
  margin: 5px 0 25px;
  color: #178797;
  font-weight: normal;
}

.homepage-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.homepage-links button {
  background: #178797;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.homepage-links button:hover {
  background: #146d7e;
}

.about-section {
  padding: 40px 30px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.about-section h2 {
  font-size: 2em;
  color: #003559;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}

.collapsible-section {
  padding: 40px 30px;
  max-width: 900px;
  margin: auto;
  text-align: center;
  border-top: 1px solid #ccc;
}

.collapsible-section h2 {
  font-size: 1.75em;
  color: #003559;
  cursor: pointer;
  margin-bottom: 15px;
}

.collapsible-section .section-content {
  font-size: 1.05em;
  color: #333;
  line-height: 1.6;
}

footer {
  background: #003559;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 0.9em;
}

.left-list {
  list-style-type: disc;
  text-align: left;
  padding-left: 40px;
  max-width: 800px;
  margin: 10px auto 30px auto;
}


/* Sticky header */
.header-section {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f8f8f5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Light gray background for main content */
main {
  background-color: #f0f0f0;
}


.section-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
}

.section-text {
  flex: 1 1 500px;
}

.section-image {
  flex: 0 1 400px;
  text-align: center;
}

.section-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}


/* Fine-tuning side-by-side modeling image layout */
.section-split {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.section-text {
  flex: 1 1 60%;
  min-width: 320px;
}

.section-image {
  flex: 1 1 35%;
  text-align: center;
}

.section-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}


.collapsible-section h2 {
  cursor: pointer;
  transition: color 0.3s ease;
}

.collapsible-section h2:hover {
  color: #178797;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .homepage-links {
    padding: 0 10px;
    gap: 10px;
  }

  .section-split {
    flex-direction: column;
    align-items: center;
  }

  .section-text, .section-image {
    width: 100%;
    text-align: center;
  }

  .section-image img {
    max-width: 90%;
    margin: 10px auto;
  }
}


.section-text em, .section-content em {
  display: block;
  text-align: left;
}


/* Make header section more compact on smaller screens */
@media (max-width: 768px) {
  .header-section {
    padding: 10px 15px;
    text-align: center;
  }

  .logo-and-title {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .logo-and-title img {
    max-width: 80px;
    height: auto;
  }

  .logo-and-title h1 {
    font-size: 1.5rem;
    margin: 0.25rem 0;
  }

  .moniker {
    font-size: 0.9rem;
  }

  .homepage-links {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 10px;
  }
}
