.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #007AFF;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 18px;
  color: #86868b;
  font-weight: 500;
}

.location-nav {
  background: white;
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.nav-header h2 {
  font-size: 28px;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.location-detail {
  background: white;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.detail-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
}

.location-name {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #1d1d1f;
}

.location-status {
  display: flex;
  gap: 30px;
  color: #86868b;
}

.status.online {
  color: #34c759;
}

.status.online i {
  font-size: 10px;
  margin-right: 8px;
}

.operation-time i {
  margin-right: 8px;
}

.contact-section {
  margin-bottom: 40px;
}

.contact-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.contact-item {
  padding: 15px;
  background: #f5f5f7;
  border-radius: 16px;
}

.contact-item .label {
  font-weight: 600;
  color: #515154;
}

.contact-item .value {
  color: #1d1d1f;
}

.contact-person {
  margin-top: 15px;
}

.person-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f5f5f7;
  border-radius: 20px;
}

.person-avatar {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
}

.person-info h4 {
  font-size: 22px;
  margin-bottom: 5px;
}

.location-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.location-tab {
  padding: 16px 28px;
  background: #f5f5f7;
  border: 2px solid transparent;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  color: #515154;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-tab:hover {
  background: #e8e8ed;
  color: #007AFF;
}

.location-tab.active {
  background: #007AFF;
  color: white;
  border-color: #007AFF;
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.25);
}

.person-contact {
  color: #515154;
  font-size: 14px;
  line-height: 1.5;
}

.person-contact i {
  margin-right: 8px;
  color: #007AFF;
}

.majors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.major-tag {
  padding: 10px 20px;
  background: #f5f5f7;
  border: 2px solid #e5e5e7;
  border-radius: 20px;
  color: #515154;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.major-tag:hover {
  background: #007AFF;
  color: white;
  border-color: #007AFF;
}

.address-info {
  padding: 20px;
  background: #f5f5f7;
  border-radius: 20px;
}

.address-info p {
  margin-bottom: 15px;
  color: #1d1d1f;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.address-info i {
  color: #007AFF;
  margin-top: 4px;
}

.address-detail ul {
  margin-left: 20px;
  color: #515154;
}

.address-detail li {
  margin-bottom: 8px;
}

.introduction {
  padding: 20px;
  background: #f5f5f7;
  border-radius: 20px;
}

.introduction p {
  margin-bottom: 15px;
  color: #515154;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .contact-container {
    padding: 20px 0px;
  }
  .location-nav {
    margin-bottom: 20px;
    padding: 14px;
  }
  .page-title {
    font-size: 48px;
  }

  .page-subtitle {
    font-size: 20px;
  }
  .contact-stats {
    gap: 20px;
  }
  .stat-number {
    font-size: 36px;
  }
  .nav-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
  }
  .nav-header h2 {
    font-size: 24px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .location-detail {
    padding: 14px;
  }
  .contact-section {
    margin-bottom: 20px;
  }
  .person-card {
    padding: 14px;
  }
  .person-info h4 {
    font-size: 20px;
  }
  .person-avatar {
    width: 35px;
    height: 35px;
  }
  .location-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
  }
 .location-tab {
    padding: 5px 14px;
  }
  .location-name {
    font-size: 24px;
  }
  .detail-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  .major-tag {
    padding: 3px 15px;
  }
}
