* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --pink: #ff8b91;
  --purple: #a680c4;
  --black: #020202;
  --white: #ffffff;
  --light-pink: #fff0f1;
  --light-purple: #f6effc;
  --gray-100: #f8f9fa;
  --shadow-sm: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 35px -12px rgba(166, 128, 196, 0.25);
}

body {
  background-color: var(--white);
  color: var(--black);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
}

.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important
}

.py-7 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important
}

/* 导航栏 */

.dropdown-toggle::after {
  display: none !important;
}

.navbar-custom {
  background: var(--pink);
  box-shadow: var(--shadow-sm);
  padding: 0 2rem;
  margin: 0 1rem;
  position: relative;
  z-index: 1050;
  transition: box-shadow 0.2s;
}

.navbar-custom:hover {
  box-shadow: 0 12px 30px -8px rgba(166, 128, 196, 0.2);
}

.navbar-brand {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--white) !important;
}

.navbar-brand span {
  color: var(--pink);
  background: var(--black);
  padding: 0 6px;
  margin-left: 4px;
}

/* 一级导航链接 */
.nav-link-custom {
  color: var(--white);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.6rem 1.2rem !important;
  border-radius: 40px;
  display: flex;
  align-items: center;
  /* gap: 8px; */
  text-decoration: none;
  transition: all 0.2s;
}

.nav-link-custom:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.nav-link-custom i {
  font-size: 1rem;
}

/* 带下拉菜单的容器 */
.dropdown-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 8px; */
  width: 100%;
  padding: 0.6rem 1.2rem !important;
  border-radius: 40px;
  transition: background 0.2s;
}

.dropdown-toggle-wrapper:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-link-main {
  color: var(--white);
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  flex: 1;
}

.dropdown-icon {
  font-size: 0.7rem;
  color: var(--white);
  cursor: pointer;
  transition: transform 0.2s;
  padding: 4px 8px;
  border-radius: 20px;
}

/* 二级下拉菜单 - PC端悬停显示 */
.dropdown {
  position: relative;
}

.dropdown-menu-custom {
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 35px -8px rgba(2, 2, 2, 0.15);
  padding: 0.75rem 0;
  background: var(--white);
  min-width: 220px;
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  /* overflow: hidden; */
}

.dropdown:hover .dropdown-menu-custom {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* 三级菜单样式 - PC端 */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu::after {
  position: absolute;
  content: "";
  top: 0;
  right: -10px;
  width: 20px;
  height: 100%;
  opacity: 0;
}

.dropdown-submenu-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.dropdown-submenu .dropdown-item {
  padding: 0.7rem 1.5rem;
  font-weight: 500;
  color: var(--black);
  display: flex;
  align-items: center;
  /* gap: 8px; */
  flex: 1;
  text-decoration: none;
}

.dropdown-submenu .dropdown-item:hover {
  background: var(--light-pink);
}

.submenu-icon {
  font-size: 0.7rem;
  color: var(--purple);
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.dropdown-menu-sub {
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 35px -8px rgba(2, 2, 2, 0.15);
  padding: 0.75rem 0;
  background: var(--white);
  min-width: 200px;
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 5px;
  z-index: 1001;
}

.dropdown-submenu:hover .dropdown-menu-sub {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu-sub .dropdown-item {
  padding: 0.7rem 1.5rem;
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
}

.dropdown-menu-sub .dropdown-item:hover {
  background: var(--light-pink);
}

/* 登录/注册按钮 */
.btn-login-reg {
  border: 1.5px solid var(--white);
  background: transparent;
  color: var(--white);
  border-radius: 40px;
  padding: 0.5rem 2rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.btn-login-reg:hover {
  background: var(--white);
  color: var(--pink);
  border-color: var(--white);
}

.btn-reg {
  background: var(--white);
  border: none;
  color: var(--pink);
  border-radius: 40px;
  padding: 0.5rem 2rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.btn-reg:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--pink);
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.2);
}

/* ===== 移动端导航优化 ===== */
@media (max-width: 991px) {
  .navbar-custom {
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
  }

  .navbar-collapse {
    background: var(--white);
    border-radius: 24px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
    max-height: 80vh;
    overflow-y: auto;
  }

  .navbar-nav {
    width: 100%;
    gap: 0.25rem;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link-custom {
    width: 100%;
    padding: 0.8rem 1rem !important;
    border-radius: 30px;
    justify-content: space-between;
    color: var(--black);
  }

  .nav-link-custom:hover {
    background: var(--light-pink);
    color: var(--black);
  }

  /* 带下拉菜单的容器 - 移动端样式 */
  .dropdown-toggle-wrapper {
    padding: 0 !important;
    justify-content: space-between;
    width: 100%;
  }

  .nav-link-main {
    color: var(--black);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 30px;
    flex: 1;
    transition: background 0.2s;
  }

  .nav-link-main:hover {
    background: var(--light-pink);
  }

  .dropdown-icon {
    color: var(--black);
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    margin: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
  }

  /* 移动端二级菜单样式 */
  .dropdown-menu-custom {
    position: static;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none;
    padding: 0 0 0 0.5rem;
    margin: 0.5rem 0 0 0;
    background: transparent;
    display: none;
    transition: none;
    pointer-events: auto;
  }

  .dropdown-menu-custom.show {
    display: block;
  }

  .dropdown-menu-custom .dropdown-item {
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border-radius: 30px;
    color: var(--black);
  }

  /* 移动端三级菜单样式 */
  .dropdown-submenu {
    position: relative;
  }

  .dropdown-submenu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .submenu-icon {
    color: var(--black);
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: transform 0.2s;
  }

  .dropdown-menu-sub {
    position: static;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: none;
    padding: 0 0 0 1rem;
    margin: 0.5rem 0 0 0;
    background: transparent;
    display: none;
    transition: none;
    pointer-events: auto;
    left: auto;
    top: auto;
  }

  .dropdown-menu-sub.show {
    display: block;
  }

  .dropdown-menu-sub .dropdown-item {
    padding: 0.5rem 1rem 0.5rem 3rem;
    border-radius: 30px;
  }

  /* 登录注册按钮区域 */
  .d-flex.gap-2 {
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
    justify-content: center;
  }

  .btn-login-reg {
    border-color: var(--purple);
    color: var(--purple);
  }

  .btn-login-reg:hover {
    background: var(--purple);
    color: var(--white);
    border-color: var(--purple);
  }

  .btn-reg {
    background: var(--purple);
    color: var(--white);
  }

  .btn-reg:hover {
    background: #e1757b;
    color: var(--white);
  }
}

@media (max-width: 480px) {
  .navbar-brand {
    font-size: 1.5rem;
  }

  .d-flex.gap-2 {
    flex-direction: column;
    gap: 0.5rem !important;
  }

  .btn-login-reg,
  .btn-reg {
    width: 100%;
  }
}

/* 旋转图标辅助类 */
.dropdown-icon.rotate-icon {
  transform: rotate(180deg);
}

.submenu-icon.rotate-icon {
  transform: rotate(90deg);
}

/* 导航栏结束 */




/* ----- 模态框 (商业/正式) 圆角、阴影、精致排版 ----- */
.modal-content {
  border: none;
  border-radius: 28px;
  box-shadow: 0 40px 60px -20px rgba(2, 2, 2, 0.4);
  background: var(--white);
  overflow: hidden;
}

.modal-header {
  background: var(--light-pink);
  border-bottom: 1px solid rgba(166, 128, 196, 0.2);
  padding: 1.5rem 1.8rem;
}

.modal-title {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--black);
}

.modal-title i {
  color: var(--purple);
  margin-right: 12px;
}

.modal-body {
  padding: 2rem 1.8rem;
}

.modal-body .form-label {
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.modal-body .form-control {
  border-radius: 60px;
  border: 1.5px solid #e0d0e8;
  padding: 0.8rem 1.2rem;
  transition: border 0.2s, box-shadow 0.2s;
}

.modal-body .form-control:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(166, 128, 196, 0.2);
  outline: none;
}

.btn-modal-primary {
  background: var(--black);
  color: white;
  border-radius: 60px;
  padding: 0.8rem;
  font-weight: 600;
  border: none;
  transition: background 0.2s;
}

.btn-modal-primary:hover {
  background: #1a1a1a;
}

.btn-modal-outline {
  background: transparent;
  border: 1.5px solid var(--purple);
  color: var(--black);
  border-radius: 60px;
  padding: 0.8rem;
  font-weight: 600;
}

.btn-modal-outline:hover {
  background: var(--light-purple);
}

.modal-footer {
  border-top: 1px solid #eee;
  justify-content: center;
  padding: 1.2rem 1.8rem;
}




/* HERO 轮播区域 (整屏、圆角) */
.hero-swiper {
  width: 100%;
  height: 75vh;
  margin-bottom: 2rem;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-swiper .swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

.hero-swiper .swiper-slide::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #a680c4 0%, #a680c4 50%, transparent 100%);
  background: linear-gradient(90deg, #a680c4 0%, rgba(166, 128, 196, 0.8) 30%, transparent 100%);
}

.hero-overlay {
  position: relative;
  z-index: 99;
  /* background: rgba(2, 2, 2, 0.25); */
  /* backdrop-filter: blur(2px); */
  width: 100%;
  padding: 5rem 0;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-title span {
  color: var(--pink);
  text-shadow: 3px 3px 0 var(--black);
}

.hero-sub {
  font-size: 1.4rem;
  border-left: 6px solid var(--pink);
  padding-left: 2rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 60px;
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-sub {
    font-size: 1.1rem;
  }
}

.hero-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #fff;
  opacity: 0.5;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--pink);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(166, 128, 196, 0.6);
}

/* 标题通用 */
.section-head,
.section-head2 {
  display: flex;
  flex-direction: column;
}

.section-head2 {
  align-items: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-head2 .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.title-underline {
  width: 100px;
  height: 4px;
  background: var(--pink);
  border-radius: 4px;
  margin: 0 0 2rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* About 2x2 卡片 (无边框，圆角，阴影，悬停柔和上升) */
.about-card {
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  text-decoration: none;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(2, 2, 2, 0.7) 0%, rgba(0, 0, 0, 0.2) 80%);
  z-index: 1;
}

.about-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.about-card h4 {
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
  text-shadow: 2px 2px 0 var(--black);
}

.about-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.about-card .btn-card {
  background: var(--pink);
  color: var(--black);
  border: none;
  border-radius: 60px;
  padding: 0.5rem 2rem;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--black);
  transition: 0.15s;
}

.about-card .btn-card:hover {
  background: #ffa0a5;
  box-shadow: 4px 4px 0 var(--black);
}

/* Our People Are Our Strength 区块 */
.strength-block {
  background: var(--light-purple);
  border-radius: 48px;
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

/* 动态展示卡片 (6个卡片, 圆角+阴影) */
.article-card {
  background: var(--white);
  border-radius: 28px;
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  border: 1px solid rgba(166, 128, 196, 0.1);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--purple);
}

.article-date {
  color: var(--purple);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.article-card h3 {
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0.5rem 0 0.8rem;
}

.read-more {
  color: var(--pink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.read-more:hover {
  border-bottom-color: var(--pink);
}

/* 呐喊/呼吁卡片 */
.callout-card {
  background: var(--purple);
  border-radius: 48px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  color: var(--black);
  border: 2px solid var(--black);
}

.callout-card .quote {
  font-size: 2rem;
  font-weight: 800;
}

.btn-outline-rounded {
  border: 2px solid var(--black);
  border-radius: 60px;
  padding: 0.6rem 2rem;
  font-weight: 600;
  background: transparent;
}

.btn-outline-rounded:hover {
  background: var(--black);
  color: white;
}

.footer-custom {
  background: var(--black);
  color: #bbb;
  padding: 3rem 0 1.5rem;
}


/* 首页热点链接 */
.hot-link-item-thumb {
  width: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.hot-link-item-thumb img {
  width: 100%;
  transition: all ease .5s;
}

.hot-link-item-title {
  text-align: center;
  font-size: 24px;
  margin-top: 25px;
  color: var(--pink);
}

.hot-link-item:hover .hot-link-item-thumb img {
  transform: scale(1.05);
}

/*  */
.gallery-item {
  position: relative;
}

.gallery-item-thumb {
  width: 100%;
  padding-top: 100%;
  position: relative;
}

.gallery-item-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item-title {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: normal;
}

.gallery-item:hover .gallery-item-title {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 992px) {
  .gallery-item-title {
    position: unset;
    opacity: 1;
    visibility: visible;
    width: 100%;
    height: auto;
    padding: .5rem;
  }
}

/* footer 底部 */
.footer-logo {
  margin-bottom: 10px;
}

.footer-logo img {
  max-width: 100%;
}

.footer-widget-wrap h4 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--pink);
  margin-bottom: 20px;
}

.footer-widget-wrap ul li {
  margin-bottom: 10px;
}

.footer-widget-wrap ul li:last-child {
  margin-bottom: 0;
}

.footer-widget-wrap ul li a {
  font-size: 1rem;
  color: var(--white);
  transition: all ease .3s;
}

.footer-widget-wrap ul li a:hover {
  color: var(--pink);
  padding-left: 5px;
}

/* 面包屑 */
.breadcrumb-wrap {
  gap: 5px;
}

.breadcrumb-wrap a,
.breadcrumb-wrap span {
  color: var(--black);
}

.breadcrumb-wrap a:hover {
  color: var(--pink);
}

.page-content {
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 400;
}

.share-wrap a:nth-child(odd) i {
  color: var(--purple);
}

.share-wrap a:nth-child(even) i {
  color: var(--pink);
}