#snow {
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

body {
    min-width: 1200px;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

/* 导航栏样式 */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.transparent {
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

header.transparent .logo-text {
    color: #fff;
}

header.scrolled .logo-text {
    color: #333;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

header.transparent nav ul li a {
    color: #fff;
}

header.scrolled nav ul li a {
    color: #333;
}

nav ul li a:hover {
    color: #007bff;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

header.transparent .menu-toggle {
    color: #fff;
}

header.scrolled .menu-toggle {
    color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        text-align: center;
        padding: 0.5rem 0;
    }

    nav ul li a {
        color: #333 !important;
    }
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

main {
    padding-top: 0;
    position: relative;
    z-index: 2;
}

/*轮播图样式*/
.fullscreen-swiper {
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.swiper-slide {
    background-size: cover;
    background-position: top;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
}

/* 通用section样式 */
.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.section-header span {
    font-size: 0.9rem;
    opacity: 0.7;
}

.section-header.light h2,
.section-header.light span {
    color: #333;
}

.section-header.black h2 .section-subtitle {
    color: #fff;
}

/* 关于我们样式 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
}

/* 服务项目样式优化 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    padding: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.service-item {
    width: 100%;
    /* max-width: 200px; */
    text-align: center;
    padding: 0.8rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 1.8rem;
    color: #007bff;
    margin-bottom: 0.8rem;
}

/* 核心业务样式优化 */
#core-business {
    padding: 40px 0;
    background: #f8f9fa;
}

.business-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8px;
}

.business-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.business-card:hover {
    transform: translateY(-10px);
}

.business-icon {
    font-size: 28px;
    color: #007bff;
    margin-bottom: 15px;
}

.business-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.business-content ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.business-content ul li {
    padding-left: 15px;
    position: relative;
    margin-bottom: 4px;
    font-size: 13px;
}

.business-content ul li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

/* IE浏览器兼容性处理 */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .features-container {
        display: -ms-grid;
        -ms-grid-columns: 1fr 1fr 1fr 1fr;
        gap: 30px;
    }

    .feature-box {
        margin: 15px;
    }
}

/* 数据展示样式 */
#achievements {
    padding: 80px 0;
    background: #fff;
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.achievement-item {
    text-align: center;
}

.achievement-icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
}

.achievement-number {
    font-size: 36px;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 10px;
}

.achievement-label {
    font-size: 18px;
    color: #6c757d;
}

/* 用户注册流程样式调整 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.team-member {
    width: 100%;
    text-align: center;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.member-info {
    padding: 0.5rem;
}

.member-info h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

/* 师傅注册流程样式调整 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.portfolio-item {
    width: 200px;
    text-align: center;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.portfolio-info {
    padding: 0.5rem;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: #666;
}

/* 加盟咨询部分样式 */
#team-query {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: #fff;
}

.franchise-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.franchise-content {
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.info-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-10px);
}

.info-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #fff;
}

.info-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 14px;
}

.team-query-content {
    margin-top: 40px;
}

.custom-btn {
    background: #fff !important;
    color: #1a237e !important;
    border: none;
    padding: 15px 40px !important;
    border-radius: 30px !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
}

.custom-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 返回顶部按钮 */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* 服务特色的新CSS样式 */
.bg-gradient {
    background: #d6d6dd;
    /*linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);*/
    padding: 80px 0;
    position: relative;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: url('path/to/pattern.png') repeat;*/
    opacity: 0.1;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 36px;
    color: #b60808;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 700;
    color: #321;
    line-height: 1;
}

.feature-content h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
}

.feature-details {
    color: #333;
}

.feature-details p {
    margin: 8px 0;
    font-size: 16px;
    position: relative;
    padding-left: 20px;
}

.feature-details p::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4fc3f7;
}

/* 模态框样式优化 */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-bottom: none;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.form-control,
.form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.custom-btn {
    background: #fff !important;
    color: #1a237e !important;
    border: none;
    padding: 15px 40px !important;
    border-radius: 30px !important;
    font-size: 18px !important;
    margin-top: 30px;
    transition: all 0.3s ease !important;
}

.custom-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 企业信息部分样式 */
.company-section {
    background: linear-gradient(135deg, #0d47a1 0%, #1a237e 100%);
    padding: 80px 0;
    color: #fff;
}

.company-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 二维码网格样式 */
.qrcode-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-box {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 10px;
    border-radius: 15px;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.qrcode-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode-text {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* 联系信息样式 */
.contact-info-section {
    margin-bottom: 40px;
}

.contact-box {
    /* background: rgba(255, 255, 255, 0.1); */
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: normal;
    justify-content: space-around;
    align-items: normal;
    gap: 15px;
    /* max-width: 500px; */
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
}

.contact-item i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    min-width: 24px;
    margin-top: 3px;
}

.info-content {
    text-align: left;
    flex: 1;
}

.info-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.info-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

/* 底部版权信息样式调整 */
.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.footer-copyright span {
    white-space: nowrap;
    text-align: center;
}

/* 修改链接颜色，使其与其他文字一致 */
.footer-copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-copyright a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

/* 加盟表单样式 */
.join-form-section {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.join-form-section h3 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.join-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #0056b3;
}

/* 移动端样式调整 */
@media screen and (max-width: 768px) {

    /* 导航栏响应式 */
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        text-align: center;
        padding: 0.5rem 0;
    }

    nav ul li a {
        color: #333 !important;
    }
}