/* GENERAL STYLING */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

header {
  background-color: #9C27B0; /* Dark Purple */
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

header p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

/* NAVIGATION */
.navbar {
  display: flex;
  justify-content: center;
  background-color: #BA68C8; /* Lighter Purple */
  flex-wrap: wrap;
}

.navbar a {
  color: #fff;
  padding: 1rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.navbar a:hover {
  background-color: #9C27B0;
}

/* SECTION TITLES */
section {
  padding: 2rem 1rem;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #9C27B0; /* Dark Purple for titles */
}

/* SPEAKERS GRID */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.speaker {
  background-color: #BA68C8;
  border: 3px solid #9C27B0;
  border-radius: 10px;
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
  opacity: 0;
  width: 180px;
  box-sizing: border-box;
  display: flex;              /* add this */
  flex-direction: column;     /* ensures vertical layout */
  align-items: center;        /* centers content horizontally */
  justify-content: flex-start;/* keeps items stacked nicely */
}

.speaker img {
  width: 150px;              /* adjust size as needed */
  height: 200px;             /* taller = more oval shape */
  object-fit: cover;          /* prevents distortion */
  object-position: center;    /* keeps face centered */
  border-radius: 50%;         /* makes it oval (because height ≠ width) */
  display: block;
  margin: 0 auto;
  border: 2px solid #9C27B0;  /* purple frame */
  background-color: #9C27B0;  /* fills any empty space */
}

.speaker:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.speaker:hover img {
  transform: scale(1.05);
  border-color: #7B1FA2;
}

.speaker h3 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.1rem;
  color: #fff;
}

.speaker p {
  margin: 0;
  font-size: 0.85rem;
  color: #f1f1f1;
}

/* AGENDA LIST */
#agenda ul {
  max-width: 600px;
  margin: 0 auto;
  padding-left: 0;
}

#agenda li {
  margin-bottom: 0.5rem;
}

/* SPONSOR */
.sponsor {
  text-align: center;
  margin: 2rem 0;
}

.sponsor-logo {
  display: block;
  margin: 0 auto 1rem;
  max-width: 200px;
}

.sponsor-text {
  font-weight: bold;
  color: navy;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.sponsor-btn {
  display: inline-block;
  background-color: #9C27B0; /* Dark Purple */
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  text-align: center;
  margin: 0.5rem auto 0;
}

.sponsor-btn:hover {
  background-color: #7B1FA2;
}

/* REGISTRATION */
#registration p {
  text-align: center;
  font-size: 1rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #f2f2f2;
  color: #333;
}

/* SCROLL ANIMATION */
.speaker.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media screen and (max-width: 480px) {
  .speaker {
    width: 140px;
  }
