/* 全局样式 */
:root {
    --primary-color: #FB8227; /* 橙色 */
    --secondary-color: #174EB5; /* 蓝色 */
    --text-color: #333333; /* 深灰色 */
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e67016;
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #123d94;
    color: var(--white);
}

/* 头部样式 */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 50px;
}

.logo h1 {
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: bold;
}

.main-menu {
    display: flex;
    list-style: none;
}

.main-menu li {
    margin-left: 25px;
}

.main-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(23, 78, 181, 0.8), rgba(23, 78, 181, 0.8)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.slogan {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 服务范围样式 */
.service-areas {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.areas-list p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/* 优势样式 */
.advantages {
    padding: 80px 0;
    background-color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.advantage-card .icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.advantage-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* 服务样式 */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 保证样式 */
.guarantees {
    padding: 80px 0;
    background-color: var(--white);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.guarantee-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guarantee-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.guarantee-card .icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.guarantee-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.contact-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-card .icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    font-size: 30px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-card:hover .icon {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.contact-card h3 {
    color: var(--secondary-color);
    font-size: 22px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.contact-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.contact-card p {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-color);
}

.contact-card .note {
    font-size: 14px;
    color: #777;
    margin-top: 15px;
}

.contact-message {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-message p {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 992px) {
    /* .contact-card {
        width: calc(50% - 20px);
        min-width: 250px;
    } */
}

@media (max-width: 768px) {
    /* .contact-card {
        width: 100%;
        max-width: 350px;
    } */
}

@media (max-width: 576px) {
    /* .contact-card {
        padding: 30px 20px;
    }
    
    .contact-card .icon {
        width: 70px;
        height: 70px;
        font-size: 26px;
    } */
    
    .contact-message p {
        font-size: 16px;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-form form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.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;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

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

/* 页脚样式 */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 36px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu li {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .slogan {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 28px;
    }
    
    .advantages-grid,
    .services-grid,
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card,
    .service-card,
    .guarantee-card {
        padding: 20px;
    }
    
    .advantage-card .icon,
    .service-card .icon,
    .guarantee-card .icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-item .icon {
        margin-bottom: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* 添加FAQ样式 */
.faq {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.faq-question[aria-expanded="true"] + .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

.faq-answer a {
    color: var(--primary-color);
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}