/* --- GLOBAL --- */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  padding: 0 2rem 2rem 2rem;
  margin: 0;
}

h1 {
  text-align: center;
  color: #333;
}

/* --- NAVIGATION BAR --- */
nav {
  background-color: #007acc;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

nav a:hover {
  text-decoration: underline;
}

/* --- LANDING PAGE --- */
.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  margin-top: 0rem;
}

.landing p {
  color: #555;
  font-size: 1.1rem;
  max-width: 1000px;
}

.button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background: #007acc;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.button:hover {
  background: #005fa3;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.button.secondary {
  background-color: #2e8b57; /* SeaGreen */
}

.button.secondary:hover {
  background-color: #246b44; /* Darker on hover */
}

/* --- APPROACHES PAGE --- */
#project-list {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin: 1rem auto;
  max-width: 700px;
  width: 100%;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.01);
}

.card h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.card p {
  margin: 0.5rem 0;
  color: #444;
}

.tags {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: #007acc;
  color: white;
  border-radius: 16px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
}

.links {
  margin-top: 0.5rem;
}

.links a {
  display: inline-block;
  margin-right: 1rem;
  color: #007acc;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

.meta {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #666;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
  justify-items: center;
}

.member {
  text-align: center;
}

.member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.member a {
  display: block;
  font-weight: bold;
  color: #007acc;
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.member a:hover {
  text-decoration: underline;
}

.member p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

.badge {
  background-color: #e67e22;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 6px;
  vertical-align: middle;
}

.intro-text {
  max-width: 700px;
  margin: 2rem auto 1rem auto;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.intro-text a {
  color: #007acc;
  text-decoration: none;
}

.intro-text a:hover {
  text-decoration: underline;
}
