/* ========================================
   CRM.Portal - 统一样式表
   ======================================== */

/* ========================================
   全局变量和基础样式
   ======================================== */
:root {
  color-scheme: light;
  --portal-gradient: linear-gradient(120deg, #6c63ff 0%, #5ed1f3 45%, #4ac2c7 100%);
  --portal-hero-overlay: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 45%);
}

html {
  font-size: 16px;
  height: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
  html {
    font-size: 15px;
  }
}

body.body-marketing {
  min-height: 100vh;
  font-feature-settings: "cv05", "cv08", "cv11";
}

/* ========================================
   导航栏样式 - 已移至 Portal.css 合并内容部分统一管理
   ======================================== */

/* ========================================
   Hero 部分样式
   ======================================== */
.hero {
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-image: 
    linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover, cover;
  background-position: center, bottom;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 50%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-description {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  max-width: 48rem;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-description-wide {
  max-width: 56rem;
}

.hero .btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero .btn-lg {
  font-size: 1.125rem;
}

.hero-img {
  margin-top: 3rem;
}

.img-overlap-margin {
  margin-bottom: -8rem;
}

/* ========================================
   Section 样式
   ======================================== */
.section {
  padding: 4rem 0;
  position: relative;
}

.section-light {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
}

.section-pretitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(15, 23, 42, 0.6);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.subheader {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tblr-secondary);
}

/* ========================================
   Browser Chrome 组件
   ======================================== */
.browser {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.15);
  background: #fff;
  position: relative;
}

.browser-header {
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 100;
}

.browser-header .row {
  position: relative;
  z-index: 101;
}

.browser picture,
.browser img {
  position: relative;
  z-index: 1;
  display: block;
}

.browser-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.browser-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #ddd;
}

.browser-dots-colored .browser-dot:nth-child(1) {
  background: #ff5f57;
}

.browser-dots-colored .browser-dot:nth-child(2) {
  background: #ffbd2e;
}

.browser-dots-colored .browser-dot:nth-child(3) {
  background: #28ca42;
}

.browser-input {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #495057;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  z-index: 150;
  cursor: pointer;
  pointer-events: auto;
}

.browser-input:hover {
  border-color: rgba(0, 0, 0, 0.2);
  color: #0d6efd;
  background: #f8f9fa;
}

/* ========================================
   Shape 图标容器
   ======================================== */
.shape {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
}

.shape-md {
  width: 3rem;
  height: 3rem;
}

.shape svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ========================================
   Wave Divider
   ======================================== */
.section-divider {
  width: 100%;
  height: 3rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.section-divider path {
  fill: #fff;
}

.wave-1 {
  opacity: 0.3;
}

.wave-2 {
  opacity: 0.5;
}

.wave-3 {
  opacity: 1;
}

/* ========================================
   通用组件样式
   ======================================== */
.feature-card,
.about-card {
  border: 0;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding: 2rem;
}

.feature-card:hover,
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.12);
}

.feature-highlight,
.architecture-block {
  border-radius: 1rem;
  border: 1px solid rgba(9, 9, 9, 0.08);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, transform 0.2s ease;
  padding: 1.5rem;
}

.feature-highlight:hover,
.architecture-block:hover {
  border-color: rgba(105, 112, 255, 0.6);
  transform: translateY(-2px);
}

.tech-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
  transition: transform 0.2s ease;
}

.tech-icon:hover {
  transform: scale(1.08);
}

.stats-number {
  font-size: 2.25rem;
  font-weight: 600;
  color: #0f172a;
}

.card {
  backdrop-filter: blur(6px);
  border-radius: 0.75rem;
}

/* ========================================
   列表样式
   ======================================== */
.list-separated {
  display: flex;
  flex-direction: column;
}

.list-separated > li {
  padding: 0.5rem 0;
}

/* ========================================
   背景渐变
   ======================================== */
.body-gradient {
  background: linear-gradient(180deg, rgba(108, 99, 255, 0.05) 0%, transparent 50%);
}

.bg-gradient {
  background: var(--portal-gradient);
  color: #fff;
}

/* ========================================
   欢迎区域和旧 Hero 样式（兼容性）
   ======================================== */

/* 宽屏不换行辅助类 */
@media (min-width: 992px) {
    .d-lg-nowrap {
        white-space: nowrap !important;
    }
}

.welcome-section {
  position: relative;
  padding: 6rem 3rem 3rem;
  border-radius: 1.5rem;
  background: var(--portal-gradient);
  color: #fff;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.welcome-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--portal-hero-overlay);
  pointer-events: none;
}

.welcome-section .btn {
  border-radius: 999px;
  padding-inline: 1.75rem;
  box-shadow: 0 0.5rem 2rem rgba(12, 88, 245, 0.3);
}

.welcome-section .text-muted,
.company-hero .text-muted,
.service-hero .text-muted,
.technology-hero .text-muted,
.privacy-hero .text-muted,
.water-hero .text-muted,
.product-hero .text-muted,
.enterprise-hero .text-muted {
  color: rgba(255, 255, 255, 0.78) !important;
}

.company-hero,
.service-hero,
.technology-hero,
.privacy-hero,
.water-hero,
.product-hero,
.enterprise-hero,
.solutions-hero,
.section-hero,
.hero-gradient {
  color: #fff;
}

.bg-dark,
.bg-primary,
.bg-info,
.bg-success,
.gradient-panel,
.cta-gradient {
  color: #fff;
}

.bg-dark .text-muted,
.bg-primary .text-muted,
.bg-gradient .text-muted,
.gradient-panel .text-muted {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* ========================================
   首页特定样式 - 统一间距20px
   ======================================== */
.homepage-container {
  margin-top: -20px !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.welcome-section {
  margin-bottom: 20px !important;
}

.homepage-section {
  margin: 0 !important;
  padding: 0 !important;
}

.homepage-section .section-header {
  margin-bottom: 20px !important;
  padding: 0 !important;
}

.product-section {
  margin: 0 !important;
  padding: 5px 0 !important;
}

.product-section:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.integration-section {
  background: #f8f9fa;
  border-radius: 1rem;
  padding: 20px 0 !important;
  margin: 20px 0 !important;
}

.integration-section .section-header {
  margin-bottom: 20px !important;
}

.cta-section {
  margin: 20px 0 !important;
  padding: 0 !important;
}

.bg-primary-subtle {
  background-color: rgba(13, 110, 253, 0.1) !important;
}

.bg-success-subtle {
  background-color: rgba(25, 135, 84, 0.1) !important;
}

.bg-info-subtle {
  background-color: rgba(13, 202, 240, 0.1) !important;
}

.bg-info-subtle {
  background-color: rgba(13, 202, 240, 0.1) !important;
}

/* ========================================
   Events 页面样式
   ======================================== */
.timeline-point::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #0d6efd;
  background-color: white;
}

.event-large-box {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  height: 183px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.event-large-box.clickable {
  cursor: pointer;
}

.event-large-box.clickable:hover {
  background: #e9ecef;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.event-large-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 1rem;
}

.event-large-box .event-content {
  flex: 1;
}

.event-large-box .event-content .event-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.event-large-box .event-content h3 {
  color: #2c3e50;
  margin-bottom: 0;
  flex: 1;
}

.event-large-box .event-content .event-separator {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, #007bff 0%, #0056b3 50%, #007bff 100%);
  margin: 0.5rem 0;
  border-radius: 1px;
}

.event-large-box .event-content p {
  color: #6c757d;
  margin-bottom: 0.5rem;
  text-indent: 2em;
}

.event-large-box .event-content .summary-wrap {
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.4;
}

.event-large-box .event-content .event-date {
  color: #495057;
  font-size: 0.9rem;
  white-space: nowrap;
  margin-left: 1rem;
}

.event-small-box {
  background: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  height: 87px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.event-small-box.clickable {
  cursor: pointer;
}

.event-small-box.clickable:hover {
  background: #f8f9fa;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

.event-small-box img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 10mm;
}

.event-small-box .event-content {
  flex: 1;
}

.event-small-box .event-content .event-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.event-small-box .event-content h5 {
  color: #2c3e50;
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  flex: 1;
}

.event-small-box .event-content .event-date-small {
  color: #495057;
  font-size: 0.9rem;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.event-small-box .event-content .event-small-separator {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, #007bff 0%, #0056b3 50%, #007bff 100%);
  margin: 0.25rem 0;
  border-radius: 0.5px;
}

.event-small-box .event-content .event-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 窄屏专用动态卡片样式（上下结构） */
.event-card-mobile {
  background: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.event-card-mobile.clickable {
  cursor: pointer;
}

.event-card-mobile.clickable:hover {
  background: #f8f9fa;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

.event-card-mobile .event-card-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.event-card-mobile .event-card-mobile-header h5 {
  color: #2c3e50;
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.event-card-mobile .event-card-mobile-date {
  color: #495057;
  font-size: 0.9rem;
  white-space: nowrap;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.event-card-mobile .event-card-mobile-separator {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, #007bff 0%, #0056b3 50%, #007bff 100%);
  margin: 0.5rem 0;
  border-radius: 0.5px;
}

.event-card-mobile .event-card-mobile-body {
  display: flex;
  align-items: center;
}

.event-card-mobile .event-card-mobile-body img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 12px;
  object-fit: cover;
}

.event-card-mobile .event-card-mobile-body p {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.events-container {
  min-height: 720px;
}

/* Events Detail 页面 */
.events-detail-container {
  margin-top: -50px !important;
  padding-top: 2mm !important;
  margin-bottom: -1rem;
  padding-bottom: 0;
}

.navigation-area {
  margin-bottom: 2.5mm;
}

.title-area {
  margin-top: 0;
  margin-bottom: 0;
}

.content-area {
  padding: 0;
  margin-bottom: 0;
}

.share-actions .btn {
  min-width: 140px;
}

.title-separator,
.content-separator {
  border: none;
  border-top: 2px solid #007bff;
  margin-top: 5mm;
  margin-bottom: 5mm;
  width: 100%;
}

.event-detail-wrapper {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
}

.event-detail-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0;
}

.content-text {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #444;
  text-align: justify;
}

.content-text p {
  margin-bottom: 1.2rem;
  text-indent: 2em;
}

.content-section {
  margin-bottom: 0;
}

.summary-text,
.keywords-text {
  white-space: pre-wrap;
  word-break: break-all;
}

.summary-text {
  text-indent: 2em;
}

.keywords-text {
  word-spacing: 0.5em;
  line-height: 1.8;
}

.publish-time {
  font-size: 1rem;
  line-height: 1.5;
}

/* ========================================
   隐私政策页面
   ======================================== */
.privacy-nav .nav-link {
  color: #495057;
  border-left: 3px solid transparent;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.privacy-nav .nav-link:hover,
.privacy-nav .nav-link:focus {
  color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.05);
  border-left: 3px solid #0d6efd;
}

.privacy-content section {
  scroll-margin-top: 100px;
}

.privacy-content h2 {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.privacy-hero {
  margin-top: 0;
}

.privacy-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.privacy-section:last-child {
  border-bottom: none;
}

/* ========================================
   页面特定底部间距重置
   ======================================== */
body[data-page="About"],
body[data-page="Privacy"],
body[data-page="Events"],
body[data-page="WaterPurification"],
body[data-page="Solutions"],
body[data-page="CloudSystem"],
body[data-page="Enterprise"],
body[data-page="ITService"] {
  margin-bottom: 0 !important;
}

/* ========================================
   表单样式
   ======================================== */
.login-container,
.register-container {
  max-width: 840px;
  margin: 3rem auto;
  padding: 2.5rem;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(15, 23, 42, 0.12);
}

.form-section {
  border-radius: 1rem;
  background: rgba(99, 102, 241, 0.06);
  padding: 2rem;
}

.external-login-section {
  border-radius: 1rem;
  border: 1px dashed rgba(99, 102, 241, 0.4);
  padding: 2rem;
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: transparent;
  color: rgba(15, 23, 42, 0.6);
}

.footer .btn-link {
  font-weight: 500;
}

/* ========================================
   按钮样式
   ======================================== */
.btn-primary {
  background: #4f46e5;
  border-color: #4f46e5;
}

.btn-primary:hover {
  background: #4338ca;
  border-color: #4338ca;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 991.98px) {
  .sticky-top {
    position: relative !important;
  }
}

@media (max-width: 767.98px) {
  .welcome-section {
    padding: 4rem 2rem 2rem;
  }

  .navbar-brand-subtitle {
    display: none !important;
  }

  .login-container,
  .register-container {
    margin: 2rem 1rem;
    padding: 1.75rem;
  }
}

/* ========================================
   Portal.css 合并内容 - 导航栏和布局
   ======================================== */

/* ==================== 导航栏样式 - 最小覆盖版 ==================== */
/* 核心思路：不覆盖 Bootstrap 中间层的 flex 布局，
   只在 nav 本身设背景/高度，在 nav-link/navbar-brand 用 line-height 居中文字 */

/* --- nav 容器：只设背景、阴影、去掉默认 padding --- */
#mainNavbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 56px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
    z-index: 2000 !important;
}

/* --- 微信浏览器汉堡菜单可点击 --- */
#mainNavbar .navbar-toggler {
    position: relative;
    z-index: 2001;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* --- 关键：隔离 navbar 内部的 .container，防止外部通用规则干扰 --- */
#mainNavbar .container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 56px;
}

/* --- navbar-brand：纯 flex 居中 --- */
#mainNavbar .navbar-brand {
    height: 56px;
    display: flex;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-right: 1rem;
    font-weight: bold;
    font-size: 1.25rem;
    color: white !important;
}

#mainNavbar .navbar-brand:hover {
    color: white !important;
}

/* --- nav-link：纯 flex 居中（不用 line-height，避免冲突） --- */
#mainNavbar .nav-link {
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 1rem !important;
    line-height: normal !important;
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.95rem;
    font-weight: 500;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link:focus {
    color: white !important;
}

/* --- 以下是装饰性样式，不影响居中 --- */
#mainNavbar .dropdown-menu {
    margin-top: 0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#mainNavbar .dropdown-item {
    padding: 0.5rem 1.5rem;
    text-align: center;
}

#mainNavbar .dropdown-item:hover {
    background: #f8f9fa;
    color: #667eea;
}

/* --- 移动端：展开菜单时恢复自然高度 --- */
@media (max-width: 991.98px) {
    #mainNavbar .navbar-collapse {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    #mainNavbar .nav-link {
        height: auto;
        line-height: 1.5;
        padding: 12px 20px !important;
    }

    #mainNavbar .dropdown-menu {
        position: static;
        background: rgba(255,255,255,0.1);
        border: none;
        box-shadow: none;
    }

    #mainNavbar .dropdown-item {
        color: white;
    }

    #mainNavbar .dropdown-item:hover {
        background: rgba(255,255,255,0.1);
        color: white;
    }
}

/* ==================== 页面布局 (来自 portal.css) ==================== */
body {
    padding-top: 56px;
    padding-bottom: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

main {
    flex: 1 !important;
}

.container:first-of-type {
    margin-top: 10px !important;
    margin-bottom: 20px !important;
}

/* Product页面特殊处理 - 页面顶部间距与下方卡片间距一致 */
body[data-page="CloudSystem"] .container:first-of-type,
body[data-page="ITService"] .container:first-of-type,
body[data-page="Enterprise"] .container:first-of-type {
    margin-top: 0 !important;
    padding-top: 1.5rem !important;
}

/* 首页特殊处理 */
body[data-page="Index"] .homepage-container .welcome-section {
    margin-top: -20px !important;
}

body[data-page="Index"] main {
    margin-bottom: 0 !important;
}

body[data-page="Index"] .homepage-container {
    margin-bottom: 0 !important;
}

/* ==================== 页脚样式 (来自 portal.css) ==================== */
footer {
    margin-top: auto !important;
    padding: 0 !important;
    background: #343a40 !important;
    color: white !important;
    height: 56px !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
}

footer .container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
}

footer .row {
    width: 100% !important;
    margin: 0 !important;
    align-items: center !important;
}

footer .col-md-6,
footer .col-md-4 {
    display: flex !important;
    align-items: center !important;
    height: 56px !important;
}

footer h5 {
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 1rem !important;
}

footer p {
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 0.875rem !important;
}

footer .text-md-end {
    justify-content: flex-end !important;
}

footer .footer-title {
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-right: 16px !important;
}

footer .footer-subtitle {
    font-size: 0.875rem !important;
    color: #adb5bd !important;
}

footer .footer-copyright {
    font-size: 0.875rem !important;
    color: #adb5bd !important;
}

footer .footer-link {
    color: #adb5bd !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    transition: color 0.3s ease !important;
}

footer .footer-link:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* 窄屏页脚一行模式 */
.footer-mobile {
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    height: 56px;
    width: 100%;
    gap: 0;
}

.footer-mobile .footer-sep {
    color: #6c757d;
    margin: 0 10px;
    font-size: 0.96rem;
}

.footer-mobile .footer-link,
.footer-mobile .footer-copyright {
    font-size: 0.96rem !important;
    white-space: nowrap;
}

.navbar, .container, footer {
    border: none !important;
}

/* ========================================
   Portal-Pages.css 合并内容 - 页面特定样式
   ======================================== */

/* ==================== 动态详情页增强样式 ==================== */
.events-detail-container {
    padding: 2rem 0;
}

.event-detail-wrapper {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.event-detail-title {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.title-area {
    margin-bottom: 2rem;
}

.title-separator {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, #007bff 0%, #0056b3 50%, #007bff 100%);
    margin: 1rem auto;
    max-width: 100px;
}

.qr-code-placeholder {
    width: 200px;
    height: 200px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-center {
    text-align: center;
    color: #6c757d;
}

/* ==================== 服务卡片样式 ==================== */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 1rem 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3,
.service-card h4 {
    color: #2c3e50;
    margin-bottom: 0;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: #495057;
}

.service-card ul li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ==================== 产品展示样式 ==================== */
.product-card,
.solution-card,
.advantage-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover,
.solution-card:hover,
.advantage-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.solution-header,
.advantage-icon {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.solution-header i,
.advantage-icon i {
    font-size: 2rem;
    margin-right: 1rem;
}

/* ==================== 时间轴样式 ==================== */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    position: relative;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 2rem;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #6c757d;
    margin-bottom: 0;
}

/* ==================== 流程步骤样式 ==================== */
.process-section,
.implementation-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem 2rem 2rem 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.process-timeline,
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.process-step {
    background: white;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.process-step:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

/* 小屏幕响应式 - 流程步骤换行 */
@media (max-width: 992px) {
    .process-timeline,
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .process-timeline,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .process-timeline,
    .process-steps {
        grid-template-columns: 1fr;
    }
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 1.5rem;
    color: white;
}

.process-step h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.process-step p {
    color: #6c757d;
    margin-bottom: 0;
}

/* ==================== 统计数据样式 ==================== */
.company-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* 数据卡片美化样式 */
.stat-card-fancy {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card-fancy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card-fancy:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.stat-icon-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    border: 2px solid rgba(102,126,234,0.2);
}

.stat-icon-ring i {
    font-size: 1.6rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number-fancy {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
}

.stat-number-fancy .stat-unit {
    font-size: 1.6rem;
    font-weight: 600;
}

.stat-label-fancy {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.stat-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin: 0 1rem;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 1s ease;
}

/* ==================== Solutions 页面特定样式 ==================== */
.solutions-hero {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    margin-bottom: 0;
}

.solution-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.category-header i {
    font-size: 2rem;
    margin-right: 1rem;
}

.category-header h3 {
    color: #2c3e50;
    margin: 0;
}

.category-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.solution-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solution-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.solution-item h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.solution-item p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

.methodology-section {
    background: #f8f9fa;
    padding: 1.5rem 3rem 3rem 3rem;
    border-radius: 15px;
}

.methodology-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.methodology-phase {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%;
    position: relative;
}

.phase-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.methodology-phase h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.methodology-phase p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.methodology-phase ul {
    color: #495057;
}

.methodology-phase ul li {
    margin-bottom: 0.5rem;
}

.case-study {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
}

.case-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.case-icon i {
    font-size: 2rem;
    color: white;
}

.case-study h4 {
    color: #6c5ce7;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-study h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.case-study p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.case-results {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-tag {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.consultation-cta {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
}

.consultation-cta h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.consultation-cta .lead {
    color: rgba(255,255,255,0.9);
}

/* ==================== Company 页面特定样式 ==================== */
.company-overview {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
}

.company-overview-flex {
    display: flex;
    align-items: stretch;
    gap: 2rem;
}

.overview-content {
    flex: 0 0 70%;
    padding-right: 1rem;
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
}

.company-stats {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding-left: 1rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.timeline-year {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 2rem;
}

.timeline-left,
.timeline-right {
    flex: 1;
}

.timeline-box {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-box h5 {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.timeline-box p {
    color: #6c757d;
    margin-bottom: 0;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.culture-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.culture-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: bold;
}

.culture-item p {
    color: #6c757d;
    margin-bottom: 0;
}

/* ==================== Technology 页面特定样式 ==================== */
.technology-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.tech-category h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.tech-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.tech-item:last-child {
    border-bottom: none;
}

.tech-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #667eea;
}

.tech-item span {
    color: #495057;
    font-weight: 500;
}

.architecture-section {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
}

.architecture-diagram {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

/* ==================== Water Purification 页面特定样式 ==================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-item-header h4 {
    color: #2c3e50;
    margin-bottom: 0;
}

.service-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-item p {
    color: #6c757d;
    margin-bottom: 0;
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-card-header .product-image {
    margin-bottom: 0;
}

.product-card-header h4 {
    color: #2c3e50;
    margin-bottom: 0;
}

.product-image {
    margin-bottom: 1.5rem;
    text-align: center;
}

.product-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.product-card p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.product-card ul {
    list-style: none;
    padding: 0;
}

.product-card ul li {
    padding: 0.5rem 0;
    color: #495057;
}

.product-card ul li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ==================== Portal.css 移动端样式 ==================== */
@media (max-width: 991.98px) {
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-marker {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .process-timeline,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .company-stats {
        flex-direction: column;
    }
    
    .event-large-box,
    .event-small-box {
        height: auto;
        min-height: 100px;
    }
}

/* ============================================ */
/* 缺失的自定义CSS类 - 补充添加 */
/* ============================================ */

/* Enterprise.cshtml - Case Studies */
.case-studies {
    /* 案例展示容器样式在case-card中已包含 */
}

.case-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%;
}

.case-card h4 {
    color: #2c3e50;
    margin-bottom: 5mm;
}

.case-desc {
    color: #6c757d;
    margin-bottom: 5mm;
}

.case-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.benefit-tag {
    background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Enterprise.cshtml - Solution Content */
.solution-content p {
    color: #6c757d;
    margin-bottom: 5mm;
}

.solution-content ul {
    color: #495057;
}

.solution-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.solution-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00b894;
    font-weight: bold;
}

.solution-grid {
    /* 解决方案网格容器 */
}

/* Solutions.cshtml - Solutions Grid */
.solutions-grid {
    /* 解决方案网格容器 */
}

/* Solutions.cshtml - Industry Cases */
.industry-cases {
    /* 行业案例容器 */
}

/* WaterPurification.cshtml - Partners Section */
.partners-section {
    background: #f8f9fa;
    padding: 1.5rem 3rem 3rem 3rem;
    border-radius: 15px;
}

.partners-grid {
    margin-top: 2rem;
}

.partner-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00cec9 0%, #74b9ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.partner-logo i {
    font-size: 2rem;
    color: white;
}

.partner-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: bold;
}

.partner-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.partner-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #00cec9 0%, #74b9ff 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ITService.cshtml & CloudSystem.cshtml - Step Number */
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 5mm;
}

/* Events/Index.cshtml - Event Image & Pagination */
.event-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.right-events-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.pagination-container {
    margin-bottom: 1px !important;
    padding-bottom: 0 !important;
    margin-top: 4px !important;
}

/* Index.cshtml - Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

/* Contact.cshtml & About/Contact.cshtml - Contact Info & Social Media */
.contact-info {
    /* 联系信息容器，子元素使用Bootstrap类 */
}

.social-media {
    /* 社交媒体容器，子元素使用Bootstrap类 */
}

/* Company.cshtml - Company Culture */
.company-culture {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
}
