/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* 导航栏 */
.navbar {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: auto;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #ff6b35;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.navbar.scrolled .nav-links a {
    color: #333;
    text-shadow: none;
}

.navbar.scrolled .nav-links a:hover {
    color: #ff6b35;
    text-shadow: none;
}

/* 英雄区域 - 全屏轮播图 */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('design/zz.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: fadeIn 1s ease-in-out;
    z-index: 2;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 10px;
}

.slide-content h2 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
}

.slide-content h3 {
    font-size: 18px;
    color: #f0f0f0;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 3;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    color: #333;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-controls button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.about-intro p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 80px;
}

.feature-item {
    flex: 1;
    min-width: 300px;
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-in-out;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    padding: 40px 0;
    background-color: #f8f8f8;
    border-radius: 10px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.6s;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

/* 项目介绍 */
.projects {
    padding: 120px 0;
    background-image: url('img/0001[15]_s.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}

.projects .container {
    position: relative;
    z-index: 2;
}

.projects-nav {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.nav-btn {
    flex: 1;
    padding: 20px 40px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #ff6b35;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.nav-btn.active {
    background-color: rgba(255, 255, 255, 0.9);
    color: #ff6b35;
}

/* 项目内容区域 */
.projects-content {
    margin-top: 60px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 1s ease-in-out;
}

.content-header {
    text-align: center;
    margin-bottom: 30px;
}

.content-header h3 {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 10px;
}

.content-body {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.content-body h3 {
    color: #ff6b35;
}
.content-image {
    flex: 1;
    min-width: 300px;
}

.content-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.content-text {
    flex: 1;
    min-width: 300px;
}

.content-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* 号召性区域 */
.cta {
    background-color: #ff6b35;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    animation: fadeIn 1s ease-in-out;
}

.cta h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 40px;
}

.project-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.project-form input {
    width: 300px;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.project-form button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.project-form button:hover {
    background-color: #555;
}

.cta .small-text {
    font-size: 14px;
    opacity: 0.8;
}

/* 选择卡片 */
.quiz-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.quiz-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.bg-slide.active {
    opacity: 1;
}

.bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
}

.quiz-section .container {
    position: relative;
    z-index: 3;
}

.quiz-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 40px;
    text-transform: uppercase;
}
.quiz-section p {
    text-align: center;
    color: #fff;
}
.quiz-container {

    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px auto 40px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.quiz-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background-color: #fff;
    transition: transform 0.5s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.quiz-card.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.quiz-card.next {
    transform: translateX(100%);
}

.quiz-card.prev {
    transform: translateX(-100%);
}

.quiz-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.4;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.option {
    padding: 20px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.option.selected {
    background-color: #ff6b35;
    color: #fff;
}

.quiz-result {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.quiz-result h3 {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 20px;
}

.quiz-result p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #666;
}

.quiz-result #user-type {
    font-weight: bold;
    color: #ff6b35;
}

/* 加入我们表单样式 */
.join-form {
    margin-top: 30px;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.join-form h4 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    resize: vertical;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.join-button {
    width: 100%;
    padding: 15px;
    background-color: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.join-button:hover {
    background-color: #e55a2b;
}

.join-button:active {
    transform: translateY(1px);
}

/* 项目详情 */
.blog {
    padding: 80px 0;
    background-color: #fff;
}

.blog h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.blog-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.blog-main {
    width: 100%;
    animation: fadeInLeft 1s ease-in-out;
}

.blog-main h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-item {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.blog-item:hover {
    transform: translateY(-5px);
}

.blog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.blog-item h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.blog-item p {
    color: #666;
    line-height: 1.6;
}

/* 联系我们 */
.contact {
    padding: 50px 0;
    background-image: url('img/sp.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    font-size: 120px;
    font-weight: bold;
    color: #ff6b35;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

/* 页脚 */
.footer {
    background-color: #ff6b35;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column ul li:hover {
    opacity: 1;
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏 */
    .nav-links {
        display: none;
    }
    
    /* 关于我们 */
    .about-features {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 200px;
    }
    
    /* 项目介绍 */
    .projects-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-btn {
        width: 250px;
    }
    
    .content-body {
        flex-direction: column;
    }
    
    /* 号召性区域 */
    .project-form {
        flex-direction: column;
        align-items: center;
    }
    
    .project-form input {
        width: 250px;
    }
    
    /* 项目详情 */
    .blog-content {
        flex-direction: column;
    }
    
    .blog-main {
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    /* 页脚 */
    .footer-content {
        flex-direction: column;
    }
    
    .footer-column {
        width: 100%;
    }
}