body {
  overflow-x: hidden;
}

.hero * {
  color: white;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../images/img_nemtac2025_panel.jpg);
  background-size: cover;
  padding-top: 30px;
  padding-bottom: 0px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
}

.hero-content h2 {
  font-size: 1.5rem;
  margin-top: 20px;
}

.conference-nav {
  border-bottom: 1px solid white;
  padding-bottom: 20px;
  margin-bottom: 50px;
}

.conference-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center; /* Vertically align items */
}

.conference-nav li a {
  color: white;
  text-decoration: none;
  font-family: 'Droid Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0 3vw; /* Add some horizontal padding for spacing */
  display: flex;
  align-items: left;
}

.conference-logo {
  width: 400px;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.video {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #0758b4, #172e55);
  padding: 50px 50px 0 50px;
  margin-bottom: none;
  flex-direction: column;
}

.video .section-title {
  text-align: center;
  margin: 0px;
  width: 100%;
  color: white;
  padding-top: 30px;
  padding-bottom: 70px;
}

.video img {
  cursor: pointer;
  width: 64%;
  height: auto;
}

.video iframe {
  width: 64%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
}

.video .section-line {
  display: flex;
  width: 93%;
  margin: 50px 70px 0px 70px;
  border: none;
  border-top: 1px solid white;
  height: 0px;
}

.speakers-section {
  width: 100%;
  margin-bottom: 10vw;
  align-items: center;
}

.speakers-section .section-title {
  text-align: center;
  margin-bottom: 75px;
  width: 100%;
  background: linear-gradient(to right, #0758b4, #172e55);
  color: white;
  padding-top: 70px;
  padding-bottom: 70px;
}

.speaker-cards {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.speaker-card {
  display: flex;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  width: 100%;
  margin: 0 auto;
  align-items: center;
}

.speaker-photo {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin-right: 50px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.speaker-bio h3 {
  font-size: 1.2rem;
  font-weight: bold;
}

@media (max-width: 767px) {
  .conference-nav ul {
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }

  .conference-nav li {
    margin: 5px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .hero-content {
    padding: 10px;
    padding-bottom: 50px;
    justify-content: center;
    align-items: center;
  }

  .conference-logo {
    width: 300px;
    height: 300px;
    margin-left: 30px;
  }

  .speaker-card {
    flex-direction: column;
    align-items: center;
  }

  .speaker-photo {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .video {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #0758b4, #172e55);
    padding: 50px 20px 0 20px;
    margin-bottom: none;
    flex-direction: column;
  }

  .video img {
    cursor: pointer;
    width: 100%;
    height: auto;
  }

  .video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: none;
  }

  .video .section-line {
    display: flex;
    width: 100%;
    margin: 50px 70px 0px 70px;
    border: none;
    border-top: 1px solid white;
    height: 0px;
  }
}
