/* Base Styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4286;
  color: #ffffff;
  background-color: #515151;
  text-align: center;
  font-weight: normal;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  line-height: 1.1;
  color: #333;
}
h1 { font-size: 45px; line-height: 48px; }
h2 { font-size: 36px; line-height: 40px; }
h3 { font-size: 30px; line-height: 32px; }
h4 { font-size: 26px; line-height: 28px; }
h5 { font-size: 20px; line-height: 24px; }
h6 { font-size: 18px; line-height: 22px; }

/* Links */
a {
  color: black;
  text-decoration: none;
}
a:hover, a:focus {
  color: #3282e6;
  text-decoration: underline;
}

/* Top bar */
.top-bar {
  height: 20px;
  background: linear-gradient(to bottom, #71a100 0%, #6fa100 100%);
}

/* Navigation */
nav {
  background-color: #333;
  font-size: 18px;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
nav ul li a {
  display: block;
  color: white;
  padding: 14px 16px;
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: #3282e6;
}

/* Containers */
.container {
  margin: 48px auto 0;
  max-width: 90%;
  padding: 0 10px;
}

/* Footer */
.footer {
  position: relative;
  height: 60px;
  clear: both;
  text-align: center;
  font-size: 14px;
  margin-top: 80px;
}

/* Reset images globally */
img {
  display: block;
  max-width: 40%;
  height: auto;
  border-radius: 0;
  margin: 20px auto;
  box-sizing: border-box;
}


/* --- Staff Cards --- */
.staff-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 40px;
  align-items: stretch;
}

.staff-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 300px;
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  color: #515151;
}

.staff-member img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  margin-bottom: 15px;
}

.staff-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  text-align: center;
}

.staff-member h3 {
  margin: 0;
}

.staff-member h4 {
  margin: 0;
  font-size: 18px;
}

.staff-member p {
  margin: 0;
  line-height: 1.4;
}