/* 服务页面样式 */

body main {
    width: 100vw !important;
    min-height: 100vh;
    margin: 0;
    padding-top: 0;
    padding-bottom: 5vh;
    padding-left: 3.5vw;
    padding-right: 4.2vw !important;/*logo 2.7*/
    margin-top: 120px;
    box-sizing: border-box;
    background-color: #fff;
}


/* 英雄区域样式 */
.hero-section {
    position: relative;
    width: 100%;
    height: auto;
    min-height:30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* 英雄区图片样式 */
.hero-section img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* 服务内容区域 - 在main内100%显示 */
.service-content {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* 服务图片容器 */
.service-image-container {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* 服务图片样式 */
.service-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-width: 100%;
}

/* 统一显示内容 */

/* 下载按钮样式 */
.download-btn {
    background-color: #FF6B35; /* 橙色背景 */
    color: #333; /* 深灰色文字 */
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    width: 30%; /* 电脑端30%宽度 */
    box-sizing: border-box;
}

.download-btn:hover {
    background-color: #666; /* 鼠标悬停时变为灰色 */
    color: #fff;
}

/* 滚动图片样式 */
.scroll-section {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    cursor: grab;
    background: transparent;
    box-sizing: border-box;
}

.scroll-section:active {
    cursor: grabbing;
}

.scroll-container {
    position: relative;
    width: 100%;
    height: 100vh;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background: transparent;
}

.scroll-item {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    transition: left 0.8s ease-in-out;
    z-index: 1;
    box-sizing: border-box;
}

.scroll-item.active {
    left: 0;
    z-index: 2;
}

.scroll-item.prev {
    left: -100%;
    z-index: 1;
}

.scroll-item img {
    width: 100%;
    height: 100vh;
    object-fit: contain;
    pointer-events: none;
}

/* 手机版样式 */
@media (max-width: 768px) {
    
    .service-content {
        width: 98%;
    }
    
    .download-btn {
        width: 50%; /* 手机端50%宽度 */
    }
    
    .scroll-section {
        min-height: 30vh;
        height: 30vh;
        width: 98%;
        margin: 0;
        padding: 0;
    }

    .scroll-container {
        height: 30vh;
        width: 100%;
    }

    .scroll-item {
        height: 30vh;
        width: 100%;
    }

    .scroll-item img {
        height: 30vh;
        width: 100%;
        object-fit: contain;
    }
}

/* 第7区块 演讲邀请表单样式 */
.speech-invitation-section {
    padding: 60px 0;
    background-color: transparent;
    margin: 40px 0;
    width: 100%;
    box-sizing: border-box;
}

.invitation-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.speech-text-content {
    padding: 20px;
}

.speech-text-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.speech-text-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.speech-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.speech-form-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.speech-form .form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.speech-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.speech-form .form-control:focus {
    border-color: #FF6B35;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.speech-submit-btn {
    background-color: #FF6B35;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: background-color 0.3s ease;
    width: 100%;
}

.speech-submit-btn:hover {
    background-color: #666;
    color: white;
}

.success-message {
    margin-top: 20px;
}

/* 手机端样式 */
@media (max-width: 768px) {
    .speech-invitation-section {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .invitation-title {
        font-size: 18px;
        padding: 0 20px;
    }
    
    .speech-form-container {
        padding: 30px 20px;
        margin: 20px auto;
        width: 100%;
        max-width: 400px;
        box-sizing: border-box;
    }
    
    .speech-form-title {
        font-size: 18px;
    }
    
    .speech-text-title {
        font-size: 24px;
        text-align: center;
    }
    
    .speech-text-description {
        font-size: 14px;
        text-align: center;
    }
    
    .speech-text-content {
        padding: 10px;
        margin-bottom: 20px;
    }
}

