.sourcebg {
    width: 100%;

    background-image: url('/img/bg6.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* 或contain以适应内容 */
    margin-top: -10px;
}



.dropdown {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}




.funky {
    font-family: "微软雅黑" dancing script, cursive, LiSu;
    display: inline;
    font-size:  calc(2rem + 1vw);
    background-image: linear-gradient(to right, #f782a9 0%, #b48bd9 10%, #4ed9ab 40%, #ffd26b 60%, #f782a9 90%, #f782a9 100%);
    background-size: 200% auto;
    
    background-clip: text;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 10s linear infinite;


}


.display1 {
    background-color: #391a5f;
    background-size: cover;
    
}




.adfont {
    font-weight: bold;
    font-family: "YouYuan";
}

.footer-line {
    width: 100%;
    height: 1rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, .1), inset 0 0.125em 0.5em rgba(0, 0, 0, .15);
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    background: #fff;
    /* background-image: url('/img/bg.jpg'); */

    font-family: PingFangSC-Regular, HelveticaNeue-Light, Helvetica Neue Light, Microsoft YaHei, "sans-serif";
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    min-height: 50vh;
    display: flex;
    flex-direction: column;

}

main {
    flex: 1;

    font-size: 16px;
    width: 100%;
    background-clip: border-box;
    border-radius: 15px;
    /* background-image: url('/img/bg.jpg'); */
}

  /* 英雄区域样式 */
    .hero-section {
      background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
      color: white;
    }
    
    .hero-features .feature-item {
      text-align: center;
    }
    
    .contact-card {
      border-left: 4px solid #2e7d32;
    }
    
    /* 服务流程样式 */
    .process-section {
      background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
    }
    
    .step-icon {
      width: 60px;
      height: 60px;
      font-size: 1.5rem;
    }
    
    /* 悬浮按钮 */
    .floating-contact {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      text-align: center;
    }
    
    .contact-text {
      background: #2e7d32;
      color: white;
      padding: 5px 10px;
      border-radius: 20px;
      margin-top: 5px;
      font-size: 12px;
      white-space: nowrap;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    
    /* 响应式优化 */
    @media (max-width: 768px) {
      .hero-section {
        padding: 1.5rem;
      }
      
      .hero-content h1 {
        font-size: 1.8rem;
      }
      
      .floating-contact {
        bottom: 10px;
        right: 10px;
      }
      
      .contact-text {
        font-size: 10px;
        padding: 3px 8px;
      }
      
      .process-step {
        margin-bottom: 1.5rem;
      }
    }
    
    /* 卡片悬停效果 */
    .service-item:hover,
    .partner-item:hover {
      transform: translateY(-3px);
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    /* 加载动画 */
    @keyframes pulse {
      0% { opacity: 1; }
      50% { opacity: 0.5; }
      100% { opacity: 1; }
    }
    
    .loading-placeholder {
      animation: pulse 1.5s infinite;
    }
    
    /* 确保背景可见 */
    body {
      background-color: #f8f9fa;
    }
    
    /* 修复卡片背景问题 */
    .bg-white {
      background-color: #ffffff !important;
    }
    
    .bg-light {
      background-color: #f8f9fa !important;
    }


    /* 优化后的导航栏样式 */
.navbar-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f5f9f0 100%);
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.15);
    border-radius: 15px;
    padding: 0 2rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 1rem 0; /* 增加上下间距 */
}

.navbar-modern:hover {
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.25);
    transform: translateY(-2px);
}

.navbar-nav {
    display: flex;
    gap: 2rem; /* 增加导航项间距 */
    align-items: center;
    flex-wrap: wrap;
    margin: 0; /* 去除默认外边距 */
}

.nav-link {
    color: #2e7d32;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Segoe UI', system-ui;
    font-feature-settings: 'clig' 1, 'liga' 1;
}

.nav-link:hover {
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.15);
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #4caf50, #2e7d32);
    transition: width 0.3s ease, opacity 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 移动端优化 */
.navbar-toggler {
    border: none;
    padding: 0.8rem;
    background: transparent;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.hamburger-icon span {
    height: 3px;
    width: 100%;
    background: #2e7d32;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggler.active .hamburger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggler.active .hamburger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.navbar-toggler.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

/* 响应式优化 */
@media (max-width: 991.98px) {
    .navbar-modern {
        padding: 0 1rem;
        border-radius: 0;
    }
    
    .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap; /* 防止文字换行 */
    }
    
    .nav-link::after {
        display: none; /* 移动端隐藏下划线 */
    }
}

/* 活动状态强化 */
.nav-link.active {
    color: #1b5e20 !important;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100);
    box-shadow: inset 0 4px 6px rgba(76, 175, 80, 0.1);
}

.nav-link.active::after {
    width: 100%;
    background: #1b5e20;
    opacity: 0.8;
}

footer {
    background-color: #383941;
}