body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 20px;
  background: #f4f4f4;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  background: #333;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  display: block;
}

nav ul li a:hover {
  background: #555;
  border-radius: 5px;
}

section {
  max-width: 2000px;
  margin: 20px auto;
  padding: 20px;
}

h2 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

/* ===== Organizer Biographies ===== */
#biographies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.biography {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);

  /* Fixed size */
  height: 500px;      /* adjust as needed */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.biography img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.biography h3 {
  font-size: 1.2em;
  margin: 10px 0;
}

.biography p {
  font-size: 1.2em;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}


header {
  background-color: #540a0a;  /* maroon */
  color: white;
  text-align: center;
  padding: 20px;
}

header h1 {
  margin: 5px 0;
}

/* ===== Logos + Buttons Layout ===== */
.logos {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;  /* left | center | right */
  grid-template-rows: auto auto;       /* row 1: logos, row 2: buttons */
  align-items: center;
  column-gap: 70px;
  row-gap: 20px;
  margin-top: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* first row: left logos */
.left-logos {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

/* first row: right logos */
.right-logos {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

/* second row: buttons spanning full width */
.center-buttons {
  grid-column: 1 / 4;   /* span all three columns */
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.center-buttons a {
  background: yellowgreen;
  color: black;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.center-buttons a:hover {
  background: #5c913b;
}

.event-info {
  margin-top: 10px;
  font-size: 1.2em;
}

section p {
  font-size: 18px;
}

/* ===== Schedule Table Styling ===== */
#schedule table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden; /* keeps rounded corners */
}

#schedule caption {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
  color: #540a0a; /* maroon */
}

#schedule th {
  background-color: #540a0a; /* maroon header */
  color: white;
  padding: 12px;
  text-align: left;
  font-size: 16px;
}

#schedule td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

#schedule tr:nth-child(even) {
  background-color: #f9f9f9; /* zebra striping */
}

#schedule tr:hover {
  background-color: #f1f1f1; /* highlight on hover */
}

#schedule td:first-child {
  font-weight: bold;
  color: #333;
  width: 120px; /* time column width */
}

/* ===== Pre-Lab Prep Section ===== */
.prep-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px 20px 40px;
  background: radial-gradient(circle at top left, #8b1b1b, #2b0606);
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.prep-section h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 2rem;
  color: #ffd966; /* gold accent */
}

.prep-intro {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.prep-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.prep-card {
  position: relative;
  padding: 20px 18px 20px 24px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.prep-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.prep-card p,
.prep-card ul {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.prep-card ul {
  padding-left: 18px;
}

.prep-step-number {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffd966;
  color: #2b0606;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}

.prep-note {
  margin-top: 8px;
  font-size: 0.95rem;
}

.prep-section a {
  color: #ffd966;
  font-weight: 600;
  text-decoration: underline;
}

.prep-section a:hover {
  text-decoration: none;
  opacity: 0.9;
}
