body {
  font-family: Arial, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
/* Links */
a {
  color: inherit; /* Inherit the text color of the current area */
  text-decoration: underline; /* Keep underline to distinguish links */
}
a:visited {
  color: inherit; /* Visited links also inherit color */
}
a:hover {
  color: #007acc; /* Show blue on hover */
}
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
header.banner {
  position: relative;
  text-align: center;
}
header.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* adjust opacity as needed */
  z-index: 1;
  pointer-events: none;
}
header.banner img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 0;
}
header.banner .header-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  z-index: 2;
  width: 90%;
  max-width: 1600px;
}
header.banner h1 {
  font-size: 3.5em;
  margin: 0;
}
header.banner .subtitle {
  font-size: 3.5em;
  margin: 20px 0;
  font-weight: normal;
}
header.banner .authors {
  font-size: 1.2em;
  margin: 8px 0 0 0;
}
header.banner .project {
  font-size: 1.2em;
  margin: 8px 0 0 0;
}
header.banner .publication {
  font-size: 1.2em;
  margin: 8px 0 0 0;
}
header.banner .logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 160px;
  height: auto;
  z-index: 3;
}
.button-group {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px 0 5px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  background: transparent;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #007acc;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.btn:hover {
  background-color: #005a9e;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.btn:visited {
  color: #fff;
}
.btn-paper {
  background-color: #d9534f;
}
.btn-paper:hover {
  background-color: #c9302c;
}
.btn-download {
  background-color: #5cb85c;
}
.btn-download:hover {
  background-color: #4cae4c;
}
.btn-github {
  background-color: #333;
}
.btn-github:hover {
  background-color: #222;
}
section {
  margin: 40px 0;
}
section:first-of-type {
  margin-top: 20px;
}
h2 {
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}
.image-text {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 20px;
}
 .image-text img {
  flex: 0 0 300px;
  width: 300px;
  height: auto;
 }
 .image-text p {
  flex: 1;
  margin: 0;
 }
figure {
  margin: 20px 0;
}
figure img {
  width: 100%;
  height: auto;
}
.dataset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.dataset-grid figure {
  margin: 0;
  text-align: center;
}
.genai {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.genai img {
  max-width: 300px;
  width: 100%;
  height: auto;
}
.genai div {
  flex: 1;
}
figcaption.caption {
  font-size: 0.85em;
  color: #555;
  margin-top: 5px;
}
pre {
  background: #f4f4f4;
  padding: 15px;
  overflow-x: auto;
}
footer {
  text-align: center;
  padding: 20px;
  background: #f8f8f8;
  font-size: 0.9em;
}
/* Section layout: image on left, text on right */
.section-with-image {
  display: flex;
  align-items: center;
  gap: 20px;
}
.section-with-image figure {
  flex: 0 0 300px;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.section-with-image figure img {
  width: 100%;
  flex: 1 1 0;
  object-fit: cover;
  height: auto;
}
.section-with-image figure figcaption {
  font-size: 0.85em;
  color: #555;
  margin-top: 5px;
  flex: 0 0 auto;
}
.section-with-image .text {
  flex: 1;
}
/* 轮播样式 */
.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 20px auto;
}
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-slide {
  display: none;
  text-align: center;
}
.carousel-slide.active {
  display: block;
  animation: fadeIn 0.5s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.carousel-slide figure {
  margin: 0;
}
.carousel-slide img {
  width: 100%;
  max-width: 900px;
  height: auto;
}
.carousel-slide figcaption {
  margin-top: 10px;
  font-size: 1em;
  color: #555;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: all 0.3s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn.hidden {
  display: none;
}
.carousel-btn.prev {
  left: 0;
}
.carousel-btn.next {
  right: 0;
}
.carousel-dots {
  text-align: center;
  margin-top: 15px;
}
.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}
.dot.active,
.dot:hover {
  background-color: #007acc;
}
/* Research Outcome */
.publication-list {
  list-style: disc;
  padding-left: 20px;
  margin: 10px 0 20px 0;
  font-size: 0.82em;
}
.publication-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.7;
}
.venue {
  font-weight: bold;
  color: #007acc;
  margin-right: 4px;
}
h3 {
  margin: 25px 0 10px 0;
  font-size: 1.1em;
  color: #444;
}
/* Acknowledgement */
.acknowledgement-box {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 5px;
  margin: 20px 0;
}
.acknowledgement-box p {
  margin: 0;
  line-height: 1.7;
  color: #333;
}
/* Sponsors */
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px 40px;
  margin: 20px 0;
}
.sponsor-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.sponsor-logo:hover {
  transform: scale(1.1);
}