* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: #fff;
  color: #fff;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: rgba(57, 88, 119, 1);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  width:200px; float:left; padding-top:31px;
}

.nav-content {
  max-width: calc(1400px - 220px);
  margin: 0 auto; float:left;
}

.nav-links {
  display: flex;
  gap: 100px; padding-left:50px;
}

.nav-links a {
  font-family:"Montserrat";
  color: white;
  text-decoration: none;
  font-size: 34px;line-height: 100px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #E02633;
}

.nav-links .over {
  color: #E02633;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
  background: none;
  border: none;
}

.mobile-menu-overlay {
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
  transform: translateY(0);
  background-color: rgba(57, 88, 119, 0.9);
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1400px;
  padding: 0 20px;
  align-items: center;
}

.mobile-menu-items a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.mobile-menu-items a:hover {
  color: #E02633;
}

.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding:0px;
}

.hero {
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin-top: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
  padding:0px;
  max-width: 600px;
}

.hero h1 {
font-family:'Outfit';
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
	font-family:'Outfit';
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #eee;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff3b6e;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .nav-content {
    display: none;
  }

/* 汉堡菜单按钮基础样式 */
.menu-toggle {
    position: relative;
    background: none;
    border: none;
    width: 40px; /* 调整按钮大小 */
    height: 40px; /* 调整按钮大小 */
    cursor: pointer;
    outline: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px; /* 线条之间的间距 */
}

/* 汉堡菜单线条基础样式 */
.hamburger-line {
    width: 30px; /* 调整线条长度 */
    height: 3px; /* 调整线条厚度 */
    background-color: #fff; /* 调整线条颜色 */
    border-radius: 2px; /* 线条圆角 */
    transition: all 0.3s ease; /* 添加过渡效果 */
}

/* 当按钮处于激活状态时的样式 */
.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px); /* 旋转并移动第一条线 */
    background-color: #fff; /* 可选：改变激活时的颜色 */
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0; /* 隐藏中间的线 */
    visibility: hidden; /* 隐藏中间的线 */
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -8px); /* 旋转并移动第三条线 */
    background-color: #fff; /* 可选：改变激活时的颜色 */
}


  .navbar {
    padding: 0 15px;
  }

  .logo {
    font-size: 1.5rem;
  }

  .hero {
    height: 500px;
  }

  .hero-content {
    padding: 0 20px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}