/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body layout */
body {
  background-color: #ffffff;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #000000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1rem;
  line-height: 1.6;
}

/* Constrain and center all main content */
.container {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin: 0 auto;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
}

/* Card sections */
section {
  background: lightslategray;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;          /* center all text */
  display: flex;
  flex-direction: column;
  align-items: center;         /* center all content */
  width: 100%;
}

/* Headings */
h1 {
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.5rem;
  color: #000000;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
  display: inline-block;
  text-align: center;
}

h3 {
  font-size: 1.2rem;
  color: #111;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  text-align: center; /* center headings */
}

/* Paragraphs */
p {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  max-width: 700px;
}

/* Side-by-side circular images wrapper */
.headshots-wrapper {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 1.5rem;
}

/* Circular images */
.circular-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 3px solid white;
  transition: transform 0.3s;
}

/* Optional hover effect */
.circular-image:hover {
  transform: scale(1.05);
}

/* Lists */
ul {
  list-style-type: none;
  padding: 0;
  margin: 1rem 0;
  text-align: center;  /* center lists */
}

/* List items inline-block for nice spacing */
li {
  display: inline-block;
  margin: 0.3rem 1rem;
  text-align: center;
}

/* Links */
a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

a:hover {
  color: #005999;
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #000000;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .circular-image {
    width: 120px;
    height: 120px;
  }

  section {
    padding: 1.5rem;
  }
}