:root {
    --nav-h: 56px;
    --fsc-text-mobile: 13px;
    --fsc-text-tablet: 16px;
    --fsc-text-desktop: 20px;
    --fsc-title-mobile: 20px;
    --fsc-title-tablet: 36px;
    --fsc-title-desktop: 65px;
    /* JS 会覆盖为真实导航高 */
}

/* 让正文随屏幕在 14px~18px 间自适应 */
html {
    font-size: 16px;
}

/* 导航增强 */
.navbar {
    min-height: 120px;
    border-bottom: 1px solid #ededed;
}

.navbar .navbar-brand img {
    height: 88px;
    width: auto;
    object-fit: contain
}

.navbar-nav .nav-link {
    padding: .75rem 1rem;
    font-weight: 500
}

@media (min-width: 992px) {
    .navbar .dropdown:hover>.dropdown-menu {
        display: block
    }
}

.navbar-brand {
    font-weight: 700
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, .06)
}

.offcanvas-body .nav-link {
    padding: .5rem 0
}

.offcanvas-body .dropdown-menu {
    position: static;
    float: none
}


.navbar-toggler {
    border: none !important;
}
/* ===== Footer ===== */
.site-footer {
    background: #fff;
    border-top: 1px solid #f3f3f3;
}

.site-footer .footer-brand img {
    height: 140px;
    /* 桌面 Logo 高度 */
    width: auto;
}

@media (max-width: 575.98px) {
    .site-footer .footer-brand img {
        height: 60px;
    }

    /* 手机略小 */
}

/* 底部绿色版权条（对齐参考图） */
.site-footer .copyright-bar {
    background: #044F4C;
    /* 按参考图深绿，可改成你的品牌绿 */
}

/* 让段落更紧凑一些，接近参考站的排版密度 */
.site-footer p {
    line-height: 1.6;
}



/* ===== Responsive font utilities (px-based) ===== */

/* 基础：按手机尺寸 */
.fs-text-custom {
    font-size: var(--fsc-text-mobile);
    line-height: 1.75;
}

.fs-title-custom {
    font-size: var(--fsc-title-mobile);
    line-height: 1.2;
    font-weight: 700;
    /* 如不需要可去掉 */
}

/* 平板 ≥768px */
@media (min-width: 768px) {
    .fs-text-custom {
        font-size: var(--fsc-text-tablet);
    }

    .fs-title-custom {
        font-size: var(--fsc-title-tablet);
    }
}

/* 电脑 ≥992px */
@media (min-width: 992px) {
    .fs-text-custom {
        font-size: var(--fsc-text-desktop);
    }

    .fs-title-custom {
        font-size: var(--fsc-title-desktop);
    }
}



/* Hero（视频背景） */


.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-h));
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .35))
}

.hero>.container {
    position: relative;
    z-index: 2
}

.hero h1 {
    font-weight: 800;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .45)
}

.bg-video video {
    display: block
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 70vh
    }
}


/* ===== Who We Are 专属样式 ===== */
.section-who .fw-800 {
    font-weight: 800;
}

.section-who .fw-700 {
    font-weight: 700;
}

/* 品牌强调色（按你站点色系可再调整） */
.section-who .text-brand {
    color: #10b981;
}



/* 右列：整列分隔线 + 标题 + 图片 */
.section-who .col-sdg {
    position: relative;
    padding-left: 2rem;
    /* 给分隔线留空间 */
}

@media (min-width: 992px) {
    .section-who .col-sdg::before {
        content: "";
        position: absolute;
        left: 0.5rem;
        /* 分隔线离两列中缝一点点 */
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(#0ea5e9, #10b981);
        /* 蓝绿渐变 */
        border-radius: 1px;
        opacity: .9;
    }
}


.section-who .sdg-img {
    display: block;
    margin: 0 auto;
    /* 居中 */
    max-width: 620px;
    /* 限制最大宽度，避免太大 */
    width: 100%;
}




/* 区块/横幅/工具样式 */
.section {
    padding: 4rem 0
}

.section-muted {
    background: #f8fafc
}

.section-title {
    font-weight: 800
}

.v-divider {
    width: 2px;
    background: linear-gradient(#0ea5e9, #10b981);
    height: 48px;
    display: inline-block
}



/* ===== Mission Banner 优化版 ===== */
.banner {
  position: relative;
  color: #fff;
  height: 60vh; /* 高度更大，背景更有气势 */
  display: flex;
  align-items: center;   /* 垂直居中 */
  justify-content: center; /* 水平居中 */
  text-align: center;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../../static/home/img/greentree.jpg') center center / cover no-repeat;
  transform: scale(1.1); /* 略微放大背景图，让视觉更充盈 */
  transition: transform 5s ease-out; /* 微动态感，可选 */
}
 

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.4));
}

/* 内容容器 */
.banner .inner {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

/* 标题专属样式：不再用 fs-title-custom */
.banner h2 {
  font-weight: 800;
  line-height: 1.2;
  font-size: clamp(1.75rem, 2vw + 1rem, 4rem); /* 手机≈28px，桌面≈64px */
  text-shadow: 0 6px 24px rgba(0,0,0,.45);
  margin: 0;
}


.video-banner-bg {
  position: relative;
  background-image: url("../../static/home/img/videobanner.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 400px; /* 横幅高度自己调整 */
}

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


/* 可选：悬停时背景图轻微缩放，提升动态感 */
@media (hover: hover) {
  .banner:hover::before {
    transform: scale(1.05);
    transition: transform 8s ease;
  }
}

/* 窄屏适配：让文字留白多一点，避免挤边 */
@media (max-width: 575.98px) {
  .banner {
    height: 65vh;
    padding: 0 1rem;
  }
}




/* ===== What We Do · V2 cards ===== */
:root{
  --brand-green: #5ea06a;   /* 调成你的品牌绿 */
  --card-radius: 18px;
}

.wwd.v2{
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background:
    radial-gradient(80% 60% at 20% 0%, rgba(94,160,106,.08) 0, rgba(94,160,106,0) 60%),
    linear-gradient(#fff, #fff);
}

/* 卡片 */
.wwd-card{
  position: relative;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--card-radius);
  padding: 1.25rem 1.25rem 1.25rem 1.25rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  backdrop-filter: saturate(115%) blur(1px);
  -webkit-backdrop-filter: saturate(115%) blur(1px);
}

@media (min-width: 992px){
  .wwd-card{ padding: 1.5rem 1.6rem; }
}

.wwd-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0,0,0,.09);
  background: rgba(255,255,255,.96);
}

/* 编号徽章 */
.wwd-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 .4rem;
  border-radius: .8rem;
  margin-bottom: .5rem;
  font-weight: 800;
  color: #fff;
  background: var(--brand-green);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 6px 18px rgba(94,160,106,.25);
  font-variant-numeric: tabular-nums;
}

/* 标题/描述 */
.wwd-card-title{
  margin: .1rem 0 .4rem;
  color: #4a7b4f;
  font-weight: 800;
  line-height: 1.2;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); /* 手机≈20, 桌面≈25.6 */
  letter-spacing: .2px;
}
.wwd-card-desc{
  margin: 0;
  color: #5f6b76;
  line-height: 1.8;
  font-size: clamp(1rem, .96rem + .3vw, 1.125rem);   /* 手机≈16, 桌面≈18 */
}

/* 行间距更舒展 */
.wwd.v2 .row{ row-gap: 1rem; }
@media (min-width: 992px){
  .wwd.v2 .row{ row-gap: 1.25rem; }
}

/* ===== Custom Responsive Title Font Sizes ===== */
.title-responsive {
  font-weight: 800;
  line-height: 1.15;
  text-transform: none;
  /* 默认（手机） */
  font-size: 20px;
}

/* 平板 ≥768px */
@media (min-width: 768px) {
  .title-responsive {
    font-size: 36px;
  }
  
  .wwd.v2{
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}
}

/* 桌面 ≥992px */
@media (min-width: 992px) {
  .title-responsive {
    font-size: 80px;
  }
}




.solutions {
    position: relative;
    color: #fff;
    overflow: hidden;
}

.solutions::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../../static/home/img/Solutions.jpg') center center / cover no-repeat;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.solutions:hover::before {
    transform: scale(1.05);
}


.solutions .inner {
    position: relative;
    z-index: 1;
    padding: 5rem 0;
}

@media (min-width: 992px) {
    .solutions .inner {
        padding: 10rem 0;
    }
}

/* Solution Content Styles */
.solution-content .badge-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.solution-content h2 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.solution-content .lead-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.solution-content .btn-primary {
    background: #fff;
    color: #047857;
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
}

.solution-content .btn-primary:hover {
    background: #f0fdf4;
    color: #065f46;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* Pill Grid Styles */
.pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .pill-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pill-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.pill-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pill-item:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.pill-item:hover::before {
    opacity: 1;
}

.pill-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.pill-text {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Existing styles maintained */
blockquote.ct-quote {
    font-size: 1.05rem;
    color: #334155;
}

blockquote.ct-quote::before {
    content: "•C";
    display: block;
    font-size: 2rem;
    line-height: 1;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.img-tiles img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
}

.logo-strip img {
    height: 44px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.logo-strip img:hover {
    opacity: 1;
}


.lead-tight {
    letter-spacing: 0.2px;
}



/* Quote Gallery Section */
.quote-gallery-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8faf9 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.quote-gallery-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.quote-gallery-section .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (min-width: 1400px) {
    .quote-gallery-section .container-fluid {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* Quote Card Styles */
.quote-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    position: relative;
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.quote-icon {
    color: #10b981;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.ct-quote {
    font-size: 1.125rem;
    color: #1e293b;
    line-height: 1.8;
    margin: 0;
    border: none;
    padding: 0;
    flex: 1;
}

.ct-quote::before {
    display: none;
}

.quote-text {
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 24px;
}

/* Quote Author */
.quote-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Image Gallery Styles */
.image-gallery {
    position: relative;
    height: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .3rem;
    height: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* 9:16 竖版比例 */
    aspect-ratio: 3 / 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .quote-gallery-section {
        padding: 3rem 0;
    }
    
    .quote-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    /* 平板端裁剪为1:1正方形 */
    .gallery-item {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 576px) {
    .quote-gallery-section .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .quote-card {
        padding: 1.5rem;
    }
    
    .ct-quote {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    /* 手机端裁剪为4:3横版，高度更小 */
    .gallery-item {
        aspect-ratio: 4 / 5;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .overlay-text {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-card,
.gallery-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}




/* Partners Section */
.section-partners {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f5f5f5 0%, #f8faf9 100%);
    position: relative;
    overflow: hidden;
}

.section-partners::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.partners-content {
    position: relative;
    z-index: 1;
}

/* Partners Intro */
.partners-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.partners-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.partners-title {
    font-size: 1.75rem;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.partners-title strong {
    color: #10b981;
    font-weight: 700;
}

.partners-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

/* Partners Logos */
.partners-logos {
    position: relative;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-item {
    position: relative;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.logo-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, rgba(16, 185, 129, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.logo-item:hover::before {
    opacity: 1;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Tablet - 2 columns */
@media (max-width: 991px) {
    .section-partners {
        padding: 4rem 0;
    }
    
    .partners-intro {
        margin-bottom: 3rem;
    }
    
    .partners-title {
        font-size: 1.5rem;
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 600px;
    }
    
    .logo-item {
        padding: 1.5rem;
        min-height: 120px;
    }
    
    .logo-item img {
        max-height: 50px;
    }
}

/* Mobile - 1 column */
@media (max-width: 576px) {
    .section-partners {
        padding: 3rem 0;
    }
    
    .partners-intro {
        margin-bottom: 2.5rem;
    }
    
    .partners-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
    
    .partners-title {
        font-size: 1.25rem;
    }
    
    .partners-title br {
        display: none;
    }
    
    .partners-subtitle {
        font-size: 0.9rem;
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        max-width: 100%;
    }
    
    .logo-item {
        padding: 1.25rem 1rem;
        min-height: 100px;
    }
    
    .logo-item img {
        max-height: 40px;
    }
}

/* Animation */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-item {
    animation: fadeInScale 0.5s ease-out forwards;
    opacity: 0;
}

.logo-item:nth-child(1) {
    animation-delay: 0.1s;
}

.logo-item:nth-child(2) {
    animation-delay: 0.2s;
}

.logo-item:nth-child(3) {
    animation-delay: 0.3s;
}

.logo-item:nth-child(4) {
    animation-delay: 0.4s;
}



/* Video Section - Simple Version */
.video-section {
    position: relative;
    width: 100%;
    min-height: 36vh;
    overflow: hidden;
    background-color: #000;
}

.video-wrapper {
    position: relative;
    width: 100%;
    min-height: 62vh;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(16, 185, 129, 0.2) 50%,
        rgba(0, 0, 0, 0.35) 100%
    );
}

@media (max-width: 991px) {
    .video-section,
    .video-wrapper {
        min-height: 30vh;
    }
}

@media (max-width: 576px) {
    .video-section,
    .video-wrapper {
        min-height: 25vh;
    }
}


/* ===== 滚动动画（无需额外库） ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none
}

[data-reveal="left"] {
    transform: translateX(-28px)
}

[data-reveal="right"] {
    transform: translateX(28px)
}

[data-reveal="fade"] {
    transform: none
}