/* About Us Page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  color: #ffffff;
  background-color: #f5f9ff;
}

/* Header styles are inherited from styles.css */

/* About Hero Section */
.hero-about {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/about-us-back.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.about-title {
  font-size: 5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.contact-us-title {
  font-size: 1.2rem !important;
  margin-top: 50px;
  color: #333 !important;
}

.subtitle-container {
  max-width: 600px;
}

.about-subtitle {
  font-size: 3rem;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 40px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* Pagination indicators */
.pagination {
  position: absolute;
  right: calc((100vw - 1400px) / 2 + 40px);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
}

.page-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-indicator.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

/* About Content Section */
.about-content {
  padding: 100px 0;
  background-color: #ffffff;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.about-column {
  padding: 20px;
}

.about-column h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
  position: relative;
}

.about-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: #3e80ff;
}

.about-column p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background-color: #f5f9ff;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* Override header styles for about page */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Update navigation styling to match the image */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  font-weight: 500;
  padding: 5px 0;
}

nav ul li a:hover {
  color: #3e80ff;
}

.dropdown i {
  font-size: 12px;
  margin-left: 5px;
}

/* 下拉菜单样式 */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 4px;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  font-size: 15px;
}

.dropdown-menu a:hover {
  background-color: rgba(62, 128, 255, 0.2);
  color: #3e80ff;
}

/* 移动导航菜单 */
.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* Footer styles are inherited from styles.css */

/* Responsive Styles */
@media (max-width: 1200px) {
  .about-grid {
    gap: 30px;
  }

  .about-title {
    font-size: 4.5rem;
  }

  .about-subtitle {
    font-size: 2.7rem;
  }
}

@media (max-width: 992px) {
  .hero-about {
    padding: 0 60px;
  }

  .about-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
  }

  .about-column {
    max-width: 700px;
    margin: 0 auto;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-title {
    font-size: 4rem;
  }

  .about-subtitle {
    font-size: 2.5rem;
  }

  nav ul {
    gap: 20px;
  }

  .year-events-container {
    background-color: transparent;
    padding: 0;
  }

  .left-event .event-content,
  .right-event .event-content {
    background-color: #CDD7FF;
    margin-left: 20px;
    margin-right: 0;
    border-radius: 10px;
    margin-bottom: 15px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    z-index: 1000;
  }

  nav.active {
    max-height: 100vh;
    overflow-y: auto;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  nav li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    display: block;
    padding: 15px 0;
  }

  .dropdown-menu {
    position: static;
    background-color: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown.active .dropdown-menu {
    max-height: 200px;
  }

  .dropdown-menu a {
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .hero-about {
    padding: 0 40px;
  }

  .about-title {
    font-size: 3.5rem;
  }

  .about-subtitle {
    font-size: 2.2rem;
  }

  .pagination {
    right: 20px;
  }

  .about-content {
    padding: 70px 0;
  }

  .about-column h3 {
    font-size: 1.6rem;
  }

  .about-column p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  nav ul {
    gap: 15px;
  }

  nav ul li a {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .hero-about {
    padding: 0 25px;
  }

  .about-title {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .about-subtitle {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .pagination {
    right: 15px;
  }

  .page-indicator {
    width: 10px;
    height: 10px;
  }

  .about-content {
    padding: 50px 0;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  nav ul {
    gap: 10px;
  }

  .milestones-section {
    padding: 60px 0;
  }

  .timeline-container {
    padding: 20px 0;
  }

  .left-event,
  .right-event {
    padding-left: 50px;
  }

  .event-box {
    padding: 12px;
  }

  .event-box h3 {
    font-size: 0.9rem;
  }

  .event-box p {
    font-size: 0.8rem;
  }

  .journal-cover,
  .product-image,
  .book-cover,
  .organization-logo,
  .center-image {
    max-height: 70px;
  }

  .year-events-container {
    background-color: transparent;
    padding: 0;
  }

  .left-event .event-content,
  .right-event .event-content {
    background-color: #CDD7FF;
    margin-left: 15px;
    margin-right: 0;
    border-radius: 10px;
    margin-bottom: 12px;
  }

  .timeline-year {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .hero-about {
    padding: 0 20px;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .about-subtitle {
    font-size: 1.6rem;
  }

  .about-content {
    padding: 40px 0;
  }

  .about-column h3 {
    font-size: 1.4rem;
  }

  .about-column p {
    font-size: 0.95rem;
  }

  /* 移动端导航调整 */
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    margin-top: 15px;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 1440px) {
  .pagination {
    right: 40px;
  }
}

.hero-content {
  padding-left: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* 时间轴样式 */
.milestones-section {
  padding: 100px 0;
  background-color: #f0f7ff;
  position: relative;
}

.milestones-section .section-title {
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  font-size: 2.2rem;
}

.milestones-section .section-subtitle {
  color: #666;
  max-width: 1100px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
  font-size: 1rem;
  line-height: 1.6;
}

.timeline-container {
  position: relative;
  padding: 40px 100px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: #dae6ff;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-year {
  position: relative;
  margin-bottom: 40px;
  padding-top: 50px;
}

.year-marker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  color: #000000;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  min-width: 100px;
  z-index: 2;
  background: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  font-family: 'Avanti-Regular';
}

.year-events-container {
  position: relative;
  margin-top: 15px;
  background-color: transparent;
  padding: 0;
}

.left-event .event-content {
  background-color: #CDD7FF;
  margin-right: 20px;
  border-radius: 10px;
}

.right-event .event-content {
  background-color: #CDD7FF;
  margin-left: 20px;
  border-radius: 10px;
}

.event-content {
  position: relative;
  background-color: transparent;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(62, 128, 255, 0.1);
}

.timeline-event {
  position: relative;
  margin: 30px 0;
  width: 50%;
}

.timeline-event:first-child {
  margin-top: 0;
}

.timeline-event:last-child {
  margin-bottom: 0;
}

.left-event {
  left: 0;
  padding-right: 40px;
}

.right-event {
  left: 50%;
  padding-left: 40px;
}

.event-box {
  padding: 15px;
  background-color: #E5ECFF;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.right-event .event-box {
  border-left: none;
  border-right: none;
}

.event-text {
  flex: 1;
  padding-right: 15px;
}

.event-image {
  flex-basis: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-box h3 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.4;
}

.event-box p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.4;
}

.journal-cover,
.book-cover,
.product-image,
.organization-logo,
.center-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  border: 1px solid #eaeaea;
  margin: 0;
}

.journal-cover {
  max-height: 100px;
}

.product-image {
  max-height: 80px;
}

.timeline-footer {
  text-align: center;
  margin-top: 60px;
  padding: 20px;
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
}

/* 左侧和右侧事件的连接线 */
.left-event::after,
.right-event::after {
  content: '';
  position: absolute;
  top: 22px;
  width: 20px;
  height: 2px;
  background-color: #dae6ff;
  z-index: 1;
}

.left-event::after {
  right: 0;
}

.right-event::after {
  left: 0;
}

/* 左侧和右侧事件的圆点 */
.left-event::before,
.right-event::before {
  content: '';
  position: absolute;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #3e80ff;
  z-index: 2;
}

.left-event::before {
  right: -5px;
}

.right-event::before {
  left: -5px;
}

/* 响应式设计 - 平板 */
@media (max-width: 992px) {
  .timeline-container::before {
    left: 30px;
  }

  .year-marker {
    left: 30px;
    transform: none;
    text-align: left;
  }

  .timeline-event {
    width: 100%;
    left: 0;
  }

  .left-event,
  .right-event {
    padding-left: 60px;
    padding-right: 0;
  }

  .left-event::before,
  .right-event::before {
    left: 25px;
    right: auto;
  }

  .left-event::after,
  .right-event::after {
    left: 30px;
    right: auto;
  }

  .right-event .event-box {
    border-right: none;
  }

  .event-box {
    flex-wrap: wrap;
  }

  .event-text {
    flex: 1 1 100%;
    padding-right: 0;
    margin-bottom: 10px;
  }

  .event-image {
    flex-basis: 100%;
    margin-top: 10px;
  }

  .year-events-container {
    background-color: transparent;
    padding: 0;
  }

  .left-event .event-content,
  .right-event .event-content {
    background-color: #CDD7FF;
    margin-left: 20px;
    margin-right: 0;
    border-radius: 10px;
    margin-bottom: 15px;
  }
}

/* 响应式设计 - 移动设备 */
@media (max-width: 576px) {
  .milestones-section {
    padding: 60px 0;
  }

  .timeline-container {
    padding: 20px 0;
  }

  .left-event,
  .right-event {
    padding-left: 50px;
  }

  .event-box {
    padding: 12px;
  }

  .event-box h3 {
    font-size: 0.9rem;
  }

  .event-box p {
    font-size: 0.8rem;
  }

  .journal-cover,
  .product-image,
  .book-cover,
  .organization-logo,
  .center-image {
    max-height: 70px;
  }

  .year-events-container {
    background-color: transparent;
    padding: 0;
  }

  .left-event .event-content,
  .right-event .event-content {
    background-color: #CDD7FF;
    margin-left: 15px;
    margin-right: 0;
    border-radius: 10px;
    margin-bottom: 12px;
  }

  .timeline-year {
    margin-bottom: 30px;
  }
}

/* Community Managers Section */
.community-managers-section {
  padding: 100px 0;
  background-color: #f5f9ff;
}

.managers-grid {
  display: flex;
  gap: 100px;
  max-width: 1200px;
  margin: 60px auto 0;
  flex-direction: row;
  justify-content: center;
}

.manager-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
}

.manager-photo {
  width: 200px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  background-color: #bdbdbd;
  margin-bottom: 20px;
}

.manager-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manager-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.manager-title {
  font-size: 1rem;
  color: #666;
}

/* Responsive styles for Community Managers section */
@media (max-width: 1200px) {
  .managers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
  }
}

@media (max-width: 768px) {
  .community-managers-section {
    padding: 70px 0;
  }

  .managers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }
}

@media (max-width: 480px) {
  .community-managers-section {
    padding: 50px 0;
  }

  .managers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 15px;
  }

  .manager-photo {
    margin-bottom: 15px;
  }

  .manager-name {
    font-size: 1rem;
  }

  .manager-title {
    font-size: 0.9rem;
  }
}