:root {
  --primary-color: #171e2f;
  --secondary-color: #50667c;
  --accent-color: #dcd6cc;
  --pink-accent: #e91e63; /* vibrant pink */
  --pink-soft: #f4a6b9; /* softer pink */
  --background-color: #f9f9f9;
  --text-color: #333;
  --white: #ffffff;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--background-color);
  color: var(--text-color);
}

header, footer {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 1rem;
}

header h1, header p {
  color: var(--white);
  margin-bottom: 0.3rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

header h2 {
  color: var(--pink-soft)
}
nav {
  margin-top: 1rem;
}

nav a {
  color: var(--white);
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--pink-accent);
  text-decoration: underline;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 2rem 1rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(23, 30, 47, 0.15);
}

h1, h2 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  padding-bottom: 0; /* no underline */
}

p, li {
  color: var(--secondary-color);
}

ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

section {
  margin-bottom: 2.5rem;
}

.lms-logo {
  margin-top: 1rem;
  width: 150px;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1.5rem;
  margin-top: 1rem;
}

.speaker {
  text-align: center;
}

.speaker img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: top; /* aligns image to top, crops bottom */
  border-radius: 50%;
  margin-bottom: 0.5rem;
  border: 3px solid var(--pink-accent);
  transition: transform 0.3s ease;
}



.speaker img:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
}

.speaker-name {
  font-weight: bold;
  color: var(--primary-color);
}

.speaker-affiliation {
  font-size: 0.95rem;
  color: var(--secondary-color);
}

a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--pink-accent);
}

footer h2 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--pink-soft);
}

footer .lms-logo {
  width: 120px;
  margin: 0.5rem auto;
  display: block;
}

.lms-logo {
  width: 300px;
  filter: invert(31%) sepia(81%) saturate(3000%) hue-rotate(316deg) brightness(160%) contrast(90%);
}



@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }
}


.highlight {
  color: var(--pink-accent);
  font-weight: 600;
}