/* 定义根植 */
:root {
  --primary: #2e7d32;

  --secondary: #f0f5e6;

  --primary-green: #2d5a27;
  --light-green: #f0f8f0;
  --accent-green: #4a7c59;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
}

.lead {
  margin-left: 1.2rem;
  margin-right: 1.2rem;
}

.social-icon {
  color: #888888;
}

a {
  text-decoration: none;
  color: inherit;
  word-break: break-all;
}

/* 覆盖Bootstrap预定义变量 */
.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

/* 正文开始 */
body {
  font-family: Arial, sans-serif;
  /* background-color: var(--secondary); */
}

/* 头部开始 */
.site-header {
  padding: 10px 80px;
}

.logo a {
  text-decoration: none;
}

.logo img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
}

.logo span {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);
}

/* 针对手机屏幕的媒体查询 */
@media (max-width: 408px) {
  .logo span {
    font-size: 16px;
  }
}


@media (max-width: 342px) {
  .logo span {
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .logo span {
    font-size: 12px;
  }
}

@media (max-width: 301px) {
  .logo span {
    display: none; 
  }
}

.site-nav ul {
  list-style: none;
  gap: 20px;
}

.site-nav a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
}

.site-nav a:hover {
  color: var(--primary);
}

.primary-btn {
  background-color: var(--primary);
  color: white;
  border: 1px solid var(--primary);
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.primary-btn:hover {
  background-color: #1b5e20;
  border: 1px solid #1b5e20;
}

.secondary-btn {
  background-color: transparent;
  color: white;
  border: 1px solid white;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.secondary-btn:hover {
  background-color: white;
  color: black;
}

/* 移动端样式 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
  /* 添加旋转动画 */
}

.menu-toggle.active::before {
  content: '✕';
  /* 展开时显示 X */
}

.site-nav {
  display: flex;
}

.header-action {
  display: flex;
}

/* 电脑：适配1260px 及以下 */
@media (max-width: 1510px) {

  .menu-toggle {
    display: block;
  }

  .site-nav {
    border-top: 1px solid rgb(205, 205, 205);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background-color: #f0f5e6;
    flex-direction: column;
    padding: 10px;
    z-index: 1000;
  }

  .site-nav.active {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .header-action {
    display: none;
    /* 移动端隐藏按钮，可选 */
  }

  .site-header {
    padding: 10px 40px;
    /* 适中的填充，适合平板 */
  }

  .col-md-4 {
    margin-bottom: 1.2rem;
    /* Adjust the value as needed */
  }

  .site-nav {
    border-top: 1px solid rgb(205, 205, 205);
  }

  .site-nav li {
    margin-top: 16px;
    position: relative;
    /* 为伪元素定位 */
  }

  .site-nav li:last-child {
    margin-bottom: 30px;
  }

  .site-nav li::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #81c784, transparent);
    border-radius: 1px;
  }

}


/* 平板：适配 768px 及以下 */
@media (max-width: 768px) {
  .site-header {
    padding: 10px 40px;
    /* 适中的填充，适合平板 */
  }

  .col-md-4 {
    margin-bottom: 1.2rem;
    /* Adjust the value as needed */
  }

  .site-nav {
    border-top: 1px solid rgb(205, 205, 205);
  }

  .site-nav li {
    margin-top: 16px;
    position: relative;
    /* 为伪元素定位 */
  }

  .site-nav li:last-child {
    margin-bottom: 30px;
  }

  .site-nav li::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #81c784, transparent);
    border-radius: 1px;
  }
}

/* 手机：适配 576px 及以下 */
@media (max-width: 576px) {
  .site-header {
    padding: 5px 10px;
    /* 更小的填充，适合手机 */
  }

  .col-md-4 {
    margin-bottom: 1.2rem;
    /* Adjust the value as needed */
  }

  .site-nav {
    border-top: 1px solid rgb(205, 205, 205);
  }

  .site-nav li {
    margin-top: 16px;
    position: relative;
    /* 为伪元素定位 */
  }

  .site-nav li:last-child {
    margin-bottom: 30px;
  }

  .site-nav li::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #81c784, transparent);
    border-radius: 1px;
  }

  .header-action {
    display: none !;
    /* 移动端隐藏按钮，可选 */
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* 确保 header 在其他内容之上 */
    width: 100%;
    background-color: inherit;
    /* 保持背景色 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* 可选：添加阴影以提升视觉效果 */
    opacity: 0.97;
    /* 80% 透明度 */
    transition: transform 0.3s ease-in-out;
    /* 添加平滑过渡 */
  }

  /* 避免内容被固定 header 遮挡 */
  body {
    padding-top: 90px;
    /* 根据 header 高度调整，假设 header 高度约为 60px */
  }
}




/* Hero部分开始 */
.hero-section {
  position: relative;
  /* Ensure the pseudo-element is positioned relative to this section */
  background-image: url('/assets/images/bg-hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 220px 0;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  /* Semi-transparent black overlay */
  z-index: 1;
  /* Place overlay above background but below content */
}

.hero-section .container {
  position: relative;
  /* Ensure content is above the overlay */
  z-index: 2;
  /* Higher than the overlay */
}


/* 画廊容器样式开始 */
/* 基础样式 */
.gallery-container {
  /* max-width: 1200px; */
  margin: 20px auto;
  padding: 0 20px;
  position: relative;
}

/* 轮播容器 */
.photo-gallery {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

/* 图片容器 */
.gallery-wrapper {
  display: flex;
  transition: transform 0.3s ease;
}

.gallery-slide {
  min-width: 300px;
  max-width: 400px;
  flex: 0 0 auto;
  padding: 0 0px;
}

/* 图片链接 */
.photo-gallery a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.photo-gallery a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 图片样式 */
.photo-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* 导航按钮 */
.gallery-nav-btn {
  position: absolute;
  top: 56%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(68, 68, 68, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: normal;
  font-family: Arial, sans-serif;
}

.gallery-nav-btn:after {
  font-size: 20px;
}

.gallery-nav-btn:hover {
  background: rgba(68, 68, 68, 1);
  transform: translateY(-50%) scale(1.05);
}


.gallery-nav-btn.prev {
  left: 15px;
  font-size: 10px;
}

.gallery-nav-btn.next {
  right: 15px;
}

.gallery-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gallery-nav-btn:disabled:hover {
  transform: translateY(-50%) scale(1);
  background: rgba(68, 68, 68, 0.5);
}

/* 响应式 */
@media (max-width: 768px) {
  .gallery-container {
    padding: 0 15px;
  }

  .photo-gallery img {
    height: 200px;
  }

  .gallery-slide {
    min-width: 250px;
    max-width: 300px;
  }

  .gallery-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .gallery-slide {
    padding: 0 5px;
    min-width: 200px;
    max-width: 250px;
  }

  .photo-gallery img {
    height: 180px;
  }

  .gallery-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}


.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: 1.9rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.section-subtitle {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card {
  /* background: white; */
  padding: 2rem;
  transition: all 0.3s ease;
  border: none;
  height: 100%;
  margin-bottom: 2rem;
}

.quote-section {
  text-align: center;
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.quote-author {
  font-size: 1.2rem;
  font-weight: 500;
}

.contact-section {
  background: var(--bg-light);
}

.contact-info {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-item i {
  color: var(--primary-color);
  margin-right: 1rem;
  width: 20px;
}


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

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}


/* About Us页面样式 */
.about-section {
  background-color: var(--secondary);

}

.timeline {
  position: relative;
  padding: 2rem 0;
}


.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 45%;
}

.timeline-content:hover {
  transform: scale(1.02);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: 5%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 5%;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 2.6rem;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 4px var(--secondary);
}

@media (max-width: 768px) {

  .timeline::before {
    left: 2rem;
  }

  .timeline-content {
    width: calc(100% - 2rem);
    margin-left: 2rem !important;
  }

  .timeline-dot {
    left: 2rem;
  }

  .avatar-group a:nth-child(n+5) {
    display: none;
  }
}

.avatar-group {
  display: flex;
  align-items: center;
  margin-top: 36px;
}

.avatar-group a:nth-child(n+7) {
  display: none;
}


.avatar {
  width: 60px;
  height: 60px;
  border-radius: 13px;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  /* margin-left: -8px; */
  /* margin-right: 1px; */
  transition: all 0.3s ease;
  background-size: cover;
  background-position: center;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:hover {
  transform: scale(1.1);
  z-index: 10;
  position: relative;
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}


/* Our Life 样式 */

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-container:hover {
  transform: translateY(-10px);
}

.placeholder-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #81C784, #4CAF50, #2E7D32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  text-align: center;
  position: relative;
}


.placeholder-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.placeholder-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}


/* Visit Us样式 */


.immersive-card {
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(127, 176, 105, 0.2);
  color: black;
}


.immersive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.immersive-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  /* transform: scale(0.8);  */
}


.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.experience-item {
  text-align: center;
  padding: 2rem;
  background: rgba(127, 176, 105, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.experience-item:hover {
  background: rgba(127, 176, 105, 0.1);
  transform: translateY(-3px);
}

.experience-icon {
  font-size: 3rem;
  color: var(--soft-green);
  margin-bottom: 1rem;
}

.content {
  padding: 20px;
  overflow-y: auto;
  background: white;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .content {
    width: 60%;
    max-width: 900px;
  }


}

@media (min-width: 1200px) {
  .content {
    width: 50%;
    max-width: 1000px;
  }
}

.section {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.section:last-child {
  border-bottom: none;
}

.section h3 {
  color: #667eea;
  font-size: 1.4em;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.section h3::before {
  content: '●';
  color: #764ba2;
  margin-right: 10px;
}

.responsive-text {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.6;
}

.section strong {
  color: #495057;
}

/* 游客须知样式 */
.visitor-guidelines {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
}

.visitor-guidelines h3 {
  color: #856404;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.visitor-guidelines h3::before {
  content: none;
}

.guidelines-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guidelines-list li {
  padding: 8px 0;
  border-bottom: 1px solid #ffeaa7;
  color: #856404;
  font-weight: 500;
}

.guidelines-list li:last-child {
  border-bottom: none;
}

.guidelines-list li::before {
  content: '• ';
  color: #d63384;
  font-weight: bold;
  margin-right: 8px;
}

.welcome-message {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  /* color: white; */
  /* padding: 40px; */
  border-radius: 15px;
  text-align: center;
  margin-bottom: 160px;
  /* box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3); */
}

.heart-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  /* animation: heartbeat 2s ease-in-out infinite; */
}

/* @keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
} */

.welcome-title {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 25px;
  line-height: 1.3;
}

.quote {
  font-style: italic;
  font-size: 1.1rem;
  margin: 25px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border-left: 4px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.final-words {
  margin-top: 30px;
}

.final-words p {
  font-size: 1.1rem;
  margin-bottom: 8px;
  opacity: 0.95;
}

.signature {
  font-weight: 600;
  font-size: 1.2rem !important;
  margin-top: 25px !important;
  color: #ffd700;
}

/* Soul Purification Course页面样式 */
.leaf-divider {
  position: relative;
}


.leaf-divider::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 6px;
  background: #FFF176;
  border-radius: 2px;
  z-index: -1;

}

.schedule-date {
  padding: 40px;
}

/* Xuefeng Page */
.xuefeng-full {
  border-radius: 12px;
}

/* .highlight-box {
  background: var(--secondary);
  border: 1px solid var(--secondary);
  border-radius: 10px;
  padding: 40px;
  margin: 50px 0;
  text-align: center;
} */


/* 下拉菜单样式 - 优化版本 */
.dropdown {
  position: relative;
}

.dropdown ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.1);
  /* 优化：添加整体上下padding，去除默认margin和padding */
  padding: 8px 0;
  margin: 0;
  list-style: none;
}

.dropdown:hover ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown ul li {
  display: block;
  width: 100%;
  /* 优化：添加li之间的间距 */
  margin: 2px 0;
}

/* 第一个和最后一个li去除多余间距 */
.dropdown ul li:first-child {
  margin-top: 0;
}

.dropdown ul li:last-child {
  margin-bottom: 0;
}

.dropdown ul a {
  display: block;
  padding: 10px 20px;
  color: #555;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  /* 优化：移除边框，改用背景色分隔 */
  border-radius: 4px;
  margin: 0 8px;
}

/* 移除第一个和最后一个的特殊圆角处理，统一使用小圆角 */
.dropdown ul li:first-child a {
  border-radius: 4px;
}

.dropdown ul li:last-child a {
  border-radius: 4px;
}

.dropdown ul a:hover {
  color: var(--primary);
  background-color: rgba(var(--primary-rgb), 0.1);
  /* 或者如果没有CSS变量，可以使用具体颜色 */
  /* background-color: rgba(0, 123, 255, 0.1); */
}

/* 箭头指示器 */
.dropdown>a::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 8px;
  transition: transform 0.3s ease;
  font-size: 0.8em;
}

.dropdown:hover>a::after {
  transform: rotate(180deg);
}

/* 可选：添加分隔线样式（如果需要的话） */
.dropdown ul li:not(:last-child)::after {
  content: '';
  display: block;
  height: 1px;
  background: rgba(0, 0, 0, 0.05);
  margin: 4px 16px 0 16px;
}

/* 可选：更现代的悬停效果 */
.dropdown ul a:hover {
  color: var(--primary);
  /* background-color: rgba(var(--primary-rgb), 0.1); */
  transform: translateX(4px);
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}




.step-card {
  background: white;
  border: 1px solid #c9c9c9;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  box-shadow: 0 8px 25px rgba(45, 90, 39, 0.1);
  transform: translateY(-2px);
}

.step-number {
  background: var(--primary-green);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.step-title {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.step-content {
  color: var(--text-dark);
  line-height: 1.7;
}

.highlight-box {
  background: var(--light-green);
  border: 1px solid var(--accent-green);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.icon-highlight {
  color: var(--accent-green);
  margin-right: 0.5rem;
}

.section-title {
  color: var(--primary-green);
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
}

.cta-section {
  background: var(--primary-green);
  color: white;
  padding: 60px 0;
}

.btn-custom {
  background: var(--accent-green);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-2px);
}



.testimonial-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
  /* 确保卡片填充整个列的高度 */
  display: flex;
  /* 使用 Flexbox 确保内容垂直填充 */
}

.testimonial-card2 {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
  /* 确保卡片填充整个列的高度 */
  display: flex;
  /* 使用 Flexbox 确保内容垂直填充 */
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-container {
  position: relative;
  width: 100%;
  height: 250px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(102, 126, 234, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  transition: transform 0.3s ease;
}

.video-placeholder:hover {
  transform: scale(1.1);
}

.card-content {
  padding: 25px;
  flex: 1;
  /* 让内容区域填充剩余空间 */
}

.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  background-size: cover;
  /* Ensure the image covers the entire area */
  background-position: center;
  /* Center the image */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
  margin-right: 15px;
}

.user-details h5 {
  margin: 0;
  color: #333;
  font-weight: 600;
}

.user-details small {
  color: #666;
}

.rating {
  color: #ffc107;
  margin-bottom: 15px;
}

.testimonial-text {
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

.stats-section {
  background: #f8f9fa;
  padding: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: #667eea;
  display: block;
}

.stat-label {
  color: #666;
  font-size: 18px;
  margin-top: 10px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}