* {
  margin: 0;
  padding: 0;
}
img:hover {
  transform: scale(1.05);
  transition: all 0.6s;
}

.container {
  width: 1400px;
  margin: 0 auto;
  background-color: #87CEFA;
  color: white;
}

.carousel-container {
  width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 1400px;
  height: 700px;
  -o-object-fit: cover;
  object-fit: cover;
}

@keyframes scroll {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-100%);
  }
  40% {
    transform: translateX(-100%);
  }
  60% {
    transform: translateX(-200%);
  }
  80% {
    transform: translateX(-200%);
  }
}
.slides.animate {
  animation: scroll 8s linear infinite;
}

.header {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  align-items: center;
  background-color: #87CEFA;
  color: white;
}
.header .left {
  font-family: "Times New Roman", Times, serif;
  font-size: 24px;
}
.header .nav {
  width: 50%;
}
.header ul {
  width: 100%;
  justify-content: space-evenly;
  display: flex;
  list-style: none;
  line-height: 60px;
}
.header ul a {
  font-size: 18px;
  color: white;
  text-decoration: none;
}
.header ul a:hover {
  color: #0d42de;
}

.banner img {
  width: 100%;
  height: 600px;
  -o-object-fit: cover;
  object-fit: cover;
}

.content {
  margin: 0 auto;
  width: 1400px;
  padding: 20px;
  box-sizing: border-box;
  color: white;
  background-color: #87CEFA;
}
.content h1 {
  text-align: center;
  margin: 20px 0;
}
.content .info {
  display: flex;
  justify-content: space-evenly;
  margin: 40px 0;
}
.content .info img {
  width: 200px;
}
.content .info .left,
.content .info .center {
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.content .intrduce {
  width: 80%;
  margin: 0 auto;
}
.content .intrduce p {
  line-height: 36px;
  font-size: 20px;
  text-indent: 2rem;
}

.imgBox {
  width: 80%;
  display: grid;
  margin: 0 auto 30px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.imgBox img {
  width: 100%;
  height: 600px;
  -o-object-fit: cover;
  object-fit: cover;
}

.footer {
  width: 1400px;
  line-height: 60px;
  text-align: center;
  font-size: 24px;
  background-color: #87CEFA;
  margin: 0 auto;
  color: white;
}
.jlBox {
  line-height: 36px;
  font-size: 22px;
  text-indent: 2rem;
}
.jlBox p {
  margin-bottom: 20px;
}
table {
  width: 100%;
  color: white;
  text-align: center;
}
td {
  padding: 20px 0;
  font-size: 22px;
}
form {
    width: 400px;
    margin: 0 auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}
.containerBox {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;

}

h1 {
  text-align: center;
  color: white;
  margin-bottom: 40px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 12px;
}

.card-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}
.layout-1 {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 300px 200px;
  gap: 15px;
}

.layout-1 .main-img {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

/* 方案2：瀑布流布局 */
.layout-2 {
  columns: 3 300px;
  column-gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 通用图片容器样式 */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.image-container:hover {
  transform: translateY(-5px);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .image-caption {
  opacity: 1;
}
.registerBtn{
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.registerBtn button{
  background-color: #555555;
  padding: 10px 30px;
}
@media (max-width: 768px) {
  .card-container {
      grid-template-columns: 1fr;
  }
  .layout-1 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

.layout-1 .main-img {
    grid-column: 1 / -1;
    grid-row: auto;
}
}