* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --spacing: 100px;
}

body {
  font-family: 'Microsoft Yahei', Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #1a223d;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

a {
  color: #007bff;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #1a223d;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.hero .container {
  max-width: 100%;
  padding: 0;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1a223d;
  box-shadow: var(--shadow);
  padding: 1rem 0;
  z-index: 1000;
}

.logo {
  margin-left: 10px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.logo a:before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  background-image: url('../img/icon.ico');
  background-size: contain;
  background-repeat: no-repeat;
}

.hero {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 33.33%;
  background-image: url('../img/6.webp');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 800px;
  width: calc(100% - 2rem);
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #1a223d;
}

.hero p {
  font-size: 1.1rem;
  color: #1a223d;
}

.guide {
  padding: var(--spacing) 0;
}

.light-bg {
  background-color: #293765;
}

.guide-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.guide-content.reverse {
  flex-direction: row-reverse;
}

.guide-text {
  flex: 1;
}

.guide-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.guide-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #007bff;
}

.guide-images {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.guide-images img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background-color: #ffffff;
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding: 5px;
}

.guide-images img:hover {
  transform: translateY(-10px);
}

.contact {
  padding: var(--spacing) 0;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
  margin-left: 0;
  text-align: left;
}

.info-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  text-align: left;
}

.info-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #007bff;
}

.info-item p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.footer {
  background-color: #1a223d;
  color: #ffffff;
  padding: 2rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-content a {
  color: #aaa;
}

.footer-content a:hover {
  color: #ffffff;
}

.beian-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.beian-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: middle;
}

@media screen and (max-width: 992px) {
  :root {
    --spacing: 70px;
  }

  .guide-content {
    flex-direction: column;
    gap: 2rem;
  }

  .guide-content.reverse {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .guide-text h2 {
    font-size: 2rem;
  }

  .guide-text h3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --spacing: 50px;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .guide-text h2 {
    font-size: 1.8rem;
  }

  .guide-text h3 {
    font-size: 1.3rem;
  }

  .guide-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .guide-text h2 {
    font-size: 1.5rem;
  }

  .guide-text h3 {
    font-size: 1.2rem;
  }

  .guide-images {
    grid-template-columns: 1fr;
  }

  .info-item {
    padding: 1.5rem;
  }
}
