/* ============================================
   首页样式
   ============================================ */

section {
  padding: 120px 0;
}

.section-title.center {
  padding-left: 0;
  text-align: center;
}

.section-title.center::before {
  display: none;
}

/* ============================================
   1. Banner（980px, 自定义箭头）
   ============================================ */
.home-banner {
  padding: 0;
  height: 980px;
  min-height: 600px;
}

.banner-item {
  height: 980px;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Background image on ::before for Ken Burns zoom */
.banner-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* Dark overlay */
.banner-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-left: 10%;
}

.banner-content h1 {
  font-size: 60px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.banner-content p {
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  text-transform: capitalize;
  line-height: 1.8;
}

/* 自定义箭头 */
.swiper-button-next.banner-arrow,
.swiper-button-prev.banner-arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-image: none;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 20px;
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-arrow:hover {
  background: var(--lime);
  color: var(--base);
}

.banner-pagination {
  bottom: 30px !important;
}

.banner-pagination .swiper-pagination-bullet {
  background: #fff;
  opacity: .5;
}

.banner-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--lime);
}

/* ============================================
   2. Our Purpose（渐变 + 圆弧 + 白色大字 + 分隔线 + 视频弹窗）
   ============================================ */
.home-purpose {
  background: linear-gradient(180deg, var(--grad-start), var(--grad-end));
  border-radius: 60px 60px 0 0;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.purpose-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* 视频封面 */
.video-wrapper {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: var(--base);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.video-play-btn:hover {
  background: var(--lime);
  transform: scale(1.1);
}

/* 文字区域 — 白色大字 */
.purpose-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.purpose-divider {
  display: flex;
  height: 3px;
  margin-bottom: 30px;
  border-radius: 2px;
  overflow: hidden;
}

.purpose-divider span:first-child {
  width: 30%;
  background: rgba(255, 255, 255, .8);
}

.purpose-divider span:last-child {
  width: 70%;
  background: rgba(255, 255, 255, .25);
}

.purpose-text {
  font-size: 18px;
  line-height: 2;
}

/* 视频弹窗 */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .8);
}

.video-modal-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 960px;
}

.video-modal-content video {
  width: 100%;
  border-radius: 10px;
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  transition: opacity .2s;
}

.video-modal-close:hover {
  opacity: .7;
}

/* ============================================
   3. Goal Achievement
   ============================================ */
.home-goals {
  padding: 80px 0 60px;
  background: #f9f9f9;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 40px auto 0;
  padding: 0 32px;
}

.goal-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.goal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.goal-card:hover img {
  transform: scale(1.06);
}

/* ---------- 渐变遮罩：底部深、顶部浅 ---------- */
.goal-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.25) 0%,
    rgba(0,0,0,.05) 35%,
    rgba(0,0,0,0)   55%,
    rgba(0,0,0,.45) 80%,
    rgba(0,0,0,.75) 100%
  );
  pointer-events: none;
}

/* ---------- 文字层 ---------- */
.goal-card-info {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20% 8% 8%;
  pointer-events: none;
}

.goal-card-info h2 {
  font-size: clamp(48px, 4vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
  margin-bottom: 40px;
}

.goal-card-info p {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  color: rgba(255,255,255,.9);
  line-height: 1.25;
  margin: 2px 0 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

/* ---------- 数字（与 h2/p 左对齐，在 p 下方） ---------- */
.goal-card-num {
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
  position: absolute;
  bottom: 20%;
}

.goal-card-num .count-up {
  display: inline-block;
}

@media (max-width: 768px) {
  .goals-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }
  .goal-card {
    aspect-ratio: 4/3;
  }
  .goal-card-info {
    padding: 18px 16px;
  }
  .goal-card-num {
    font-size: 42px;
  }
}

/* ============================================
   4. FlatCool Technology（虚化背景）
   ============================================ */
.home-tech {
  background: center/cover no-repeat;
  position: relative;
  background-attachment: fixed;
  overflow: hidden;
}

.home-tech::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .7);
}

/* ============================================
   5. Collaboration Parties
   ============================================ */
.partner-swiper {
  background: var(--gray-bg);
  padding: 20px 0;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* filter: grayscale(100%); */
  transition: all .3s;
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.swiper-button-next.partner-next,
.swiper-button-prev.partner-prev {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: var(--base);
  border: 2px solid var(--gray-border);
  background-image: none;
  font-size: 16px;
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next.partner-next:hover,
.swiper-button-prev.partner-prev:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--base);
}

/* ============================================
   6. Project Highlights
   ============================================ */
/* 卡片毛玻璃 */
.card-overlay {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.card-overlay .project-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-overlay .project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay .project-info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 30px 20px 20px;
  background: rgba(255, 255, 255, .70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px 20px 0 0;
}

.card-overlay .project-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-overlay .project-info h3 a {
  color: var(--base);
}

.card-overlay .project-info h3 a:hover {
  color: var(--lime);
}

.card-overlay .project-desc {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 10px;
}
 
/* --- 底部操作栏 --- */
.project-actions {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}

/* --- Read More 按钮 --- */
.read-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 20px;
  background: var(--gray-bg); color: var(--gray-text);
  border: none; border-radius: 50px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.read-more:hover {
  background: var(--lime); color: var(--base);
  padding: 8px 14px 8px 20px;
  box-shadow: 0 6px 20px rgba(185,224,53,.35);
  transform: translateY(-2px);
}
.read-more i {
  font-size: 11px; width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-border); color: var(--gray-text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.read-more:hover i {
  background: rgba(0,0,0,.18); color: var(--base);
  transform: translateX(3px);
}

.home-partners {
  overflow: hidden;
  background: var(--gray-light);
  padding-bottom: 0px;
}

/* ============================================
   7. Happenings（灰色圆弧）
   ============================================ */
.home-news {
  background: var(--gray-light);
  border-radius: 60px 60px 0 0;
}

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto 40px; 
}

.news-title-group p {
  font-size: 16px;
  color: var(--gray-text);
  margin-top: 10px;
}

.browse-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--base);
  transition: color .2s;
}

.browse-all:hover {
  color: var(--lime);
}

/* --- tech-icons（4列 hover 遮罩） --- */
.tech-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.tech-icons-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
}

.tech-icons-item>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.tech-icons-item:hover>img {
  transform: scale(1.06);
}

.tech-icons-info {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .90);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity .3s;
}

.tech-icons-item:hover .tech-icons-info {
  opacity: 1;
}

.tech-icons-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 10px;
}

.tech-icons-info p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   补充样式
   ============================================ */

 

/* 虚化背景图层级 */
.home-tech .section-title,
.home-tech .tech-icons {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto; 
}

/* Highlights 标题行 */
.highlights-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto 40px; 
}

.highlights-top-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.highlights-arrows {
  display: flex;
  gap: 10px;
}

.swiper-button-next.highlight-next,
.swiper-button-prev.highlight-prev {
  position: static;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  color: var(--base);
  border: 1px solid var(--base);;
  background-image: none;
  font-size: 20px;
  transition: all .3s;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next.highlight-next:hover,
.swiper-button-prev.highlight-prev:hover {
  background: var(--lime);
  border-color: var(--lime);
}

/* news 补充 */
.news-date {
  color: var(--gray-mid);
}

.news-desc {
  color: var(--gray-text);
}
