/* Base styles */
body {
  font-family: "Georgia", serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  line-height: 1.8;
}

nav {
  background-color: #333;
  padding: 1rem;
  text-align: center;
}

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

.container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
}

.container a {
  color: #2c8235;
  text-decoration: none;
}

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

/* Profile section */
.profile {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
}

.profile img {
  border-radius: 12px;
  width: 140px;
  height: 180px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  border: 2px solid #2c8235;
}

.bio p {
  font-size: 1.05rem;
}

/* Text styles */
h1 {
  font-size: 2.2rem;
  color: #2c8235;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: 1.6rem;
  color: #2c8235;
  margin-top: 2rem;
}

p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Lists */
ul li a {
  text-decoration: none;
  color: #2c8235;
}

ul li a:hover {
  text-decoration: underline;
}

/* Update info */
.update-info {
  font-size: 0.85rem;
  color: #666;
  text-align: right;
  border-top: 1px dashed #ccc;
  margin-top: 2rem;
  padding-top: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #333;
  color: white;
  font-size: 0.85rem;
  margin-top: 2rem;
  border-top: 1px solid #ccc;
}

/* Research section spacing */
.research-section {
  margin-bottom: 3rem;
}

/* Quote styling */
.quote {
  font-style: italic;
  color: #555;
  margin-top: 1rem;
  border-left: 4px solid #2c8235;
  padding-left: 1rem;
}

/* Icon links section */
.links.icon-only {
  display: flex;
  gap: 20px;
  margin-top: 1rem;
}

/* Clean icon appearance (no circle) */
.links.icon-only a {
  display: inline-block;
  transition: transform 0.25s ease;
  padding: 0;
  border: none;
  background: none;
}

/* Icon images */
.links.icon-only a img {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: brightness(0) saturate(100%) invert(35%) sepia(41%) saturate(756%) hue-rotate(74deg) brightness(95%) contrast(95%);
  transition: filter 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

/* Icon hover effect */
.links.icon-only a:hover img {
  filter: none;
  transform: scale(1.2);
}

nav {
  background-color: #000;
  padding: 1em 0;
  text-align: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 1.2em;
  font-weight: 400;
  font-size: 1.05em;
  position: relative;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #2c8235;
}

nav a.active {
  font-weight: 600;
  color: #2c8235;
}

nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 2px;
  background-color: #2c8235;
  border-radius: 1px;
}
