/* 加入我们页面样式 - 根据HTML中实际使用的类名重写 */

/* 页面头部样式 */
.join-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #0a1929 0%, #142d4c 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.join-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd, #3b82f6);
}

.join-header .container {
  position: relative;
  z-index: 1;
}

.join-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.join-header p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* 面包屑导航样式 */
.breadcrumb {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
  height: 36px;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  content: ">";
  font-family: inherit;
  padding: 0 0.5rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: white;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: white;
  font-weight: 500;
  font-size: 1rem;
}

/* 区块标题区域样式 */
.section-header {
  text-align: center;
  padding-bottom: 1rem;
}

/* 招聘理念样式 */
.recruitment-philosophy {
  background-color: #f8f9fa;
  padding: 4rem 0; /* 添加上下边距 */
}

.recruitment-philosophy .text-center h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a; /* 增强对比度 */
}

.recruitment-philosophy .text-center p {
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

/* 文化项目样式 - 等高设置 */
.culture-item {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 400px; /* 确保四个项目等高 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.culture-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.culture-item .text-primary {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #0066cc;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e6f0ff;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.culture-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.culture-item p {
  color: #555;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0;
}

/* 职位列表样式 */
.job-openings {
  background-color: #f8f9fa;
  padding: 4rem 0; /* 添加上下边距 */
}

.job-openings .text-center h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}

.job-openings .text-center p {
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
}

/* 职位卡片样式 */
.job-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  margin-bottom: 1.5rem; /* 添加岗位间的上下间距 */
}

.job-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.job-header {
  padding: 1.5rem;
  border-bottom: 1px solid #f1f3f5;
}

.job-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.job-header p {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.toggle-details {
  color: #0d6efd;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.toggle-details:hover {
  color: #0a58ca;
  text-decoration: none;
  outline: none;
  box-shadow: none;
}

.toggle-details i {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.toggle-details.collapsed i {
  transform: rotate(-180deg);
}

.job-details {
  padding: 1.5rem;
  background-color: #fafafa;
  display: none; /* 默认隐藏 */
}

.job-details.show {
  display: block; /* 显示详情 */
}

.job-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.requirement-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.requirement-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #555;
  line-height: 1.5;
}

.requirement-list li::before {
  content: "•";
  color: #0d6efd;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* 联系我们样式 */
.contact-section {
  background-color: #ffffff;
  padding: 4rem 0; /* 添加上下边距 */
}

.contact-section .text-center h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.contact-section .text-center p {
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* 应聘流程和联系方式容器 */
.contact-section .bg-light {
  background-color: #f8f9fa !important;
  border-radius: 12px;
  padding: 2.5rem;
  height: 100%;
}

.contact-section .bg-light h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

/* 应聘流程列表 */
.contact-section .list-decimal {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.contact-section .list-decimal li {
  color: #555;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* 联系方式列表 */
.contact-section .space-y-4 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.contact-section .space-y-4 li {
  display: flex;
  align-items: flex-start;
}

/* 联系方式图标样式 */
.contact-section .text-primary.mr-4 {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background-color: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066cc;
  margin-right: 1.25rem;
  flex-shrink: 0;
}

.contact-section .space-y-4 li div:last-child h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.contact-section .space-y-4 li div:last-child p {
  color: #555;
  margin-bottom: 0;
}

.contact-section .space-y-4 li div:last-child p a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-section .space-y-4 li div:last-child p a:hover {
  color: #0052a3;
  text-decoration: underline;
}

/* 返回顶部按钮 */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #0d6efd;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: #0a58ca;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

#back-to-top i {
  font-size: 1.25rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .join-header h1 {
    font-size: 2.25rem;
  }

  .join-header p {
    font-size: 1.125rem;
  }

  .recruitment-philosophy .text-center h2,
  .job-openings .text-center h2,
  .contact-section .text-center h2 {
    font-size: 1.75rem;
  }

  .culture-item {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .contact-section .col-lg-6 {
    margin-bottom: 1.5rem;
  }

  .job-card {
    margin-bottom: 1.5rem;
  }

  .job-details {
    padding: 1.25rem;
  }
}

@media (max-width: 576px) {
  .join-header h1 {
    font-size: 2rem;
  }

  .join-header p {
    font-size: 1rem;
  }

  .recruitment-philosophy .text-center h2,
  .job-openings .text-center h2,
  .contact-section .text-center h2 {
    font-size: 1.5rem;
  }

  .culture-item {
    min-height: 300px;
    padding: 2rem;
  }

  .culture-item .text-primary {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .contact-section .bg-light {
    padding: 2rem;
  }

  .contact-section .text-primary.mr-4 {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  #back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
}
