/* SEO Optimization Page Styles */
.seo-hero-section {
    background: #007bff;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.seo-hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.seo-hero-section p {
    font-size: 1.5rem;
}

/* SEO服务部分样式 */
.seo-services-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.seo-services-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.seo-services-section p {
    color: #666;
    margin-bottom: 40px;
}

.service-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    height: 100%;
}

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

.service-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.service-box p {
    color: #666;
    font-size: 0.9rem;
}

.service-box .btn {
    margin-top: 15px;
    background: linear-gradient(to right, #007bff, #00c6ff);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}

.service-box .btn:hover {
    background: linear-gradient(to right, #0056b3, #004494);
    transform: translateY(-2px);
}

/* SEO优化精品案例部分样式 */
.seo-cases-section {
    padding: 60px 0;
    background-color: #fff;
}

.seo-cases-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.seo-cases-section p {
    color: #666;
    margin-bottom: 40px;
}

.case-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-box img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.case-box:hover img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.case-box:hover .case-overlay {
    opacity: 1;
}

.case-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.case-overlay p {
    font-size: 1rem;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .col-lg-2 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .service-box {
        margin: 10px 0;
    }

    .case-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .service-box {
        margin-bottom: 20px;
    }

    .seo-services-section h2,
    .seo-cases-section h2 {
        font-size: 1.5rem;
    }

    .seo-services-section p,
    .seo-cases-section p {
        font-size: 0.9rem;
    }
}






/* 新的SEO服务部分样式 */
.seo-new-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.seo-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.seo-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.seo-letter {
    background-color: #e74c3c;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
}

.seo-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.seo-header p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.seo-box h4 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 15px;
}

.seo-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #666;
}

.seo-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.seo-list li::before {
    content: '\2713';
    color: #e74c3c;
    font-weight: bold;
    margin-right: 10px;
    margin-top: 3px;
}

.seo-box .btn {
    background: #e74c3c;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}

.seo-box .btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}




/* WHY部分样式 */
.why-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.why-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 40px;
}

.why-text {
    margin-bottom: 20px;
}

.why-text p {
    font-size: 1.1rem;
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: background 0.3s, color 0.3s;
}

.why-text p:hover {
    background: #e74c3c;
    color: #fff;
}

.why-text span {
    color: #666;
}

.why-text strong {
    color: #e74c3c;
    font-weight: bold;
}

.why-text.left p {
    text-align: left;
    margin-left: 10px;
}

.why-text.right p {
    text-align: right;
    margin-right: 10px;
}

.why-center-image {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
}

.why-section .btn {
    background: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}

.why-section .btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .why-section h2 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .why-center-image {
        display: none; /* 移动端隐藏图片 */
    }

    .why-text p {
        font-size: 1rem;
        padding: 10px;
    }

    .why-text.left p,
    .why-text.right p {
        text-align: center;
        margin: 10px auto;
    }
}

/* 文字进入视口动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.interactive-text {
    opacity: 0;
    animation: fadeInUp 0.5s forwards;
}

.interactive-text.visible {
    opacity: 1;
}

/* 点击展开详细信息 */
.why-text p {
    cursor: pointer;
    overflow: hidden;
    max-height: 2.4em;
    transition: max-height 0.3s ease;
}

.why-text p.expanded {
    max-height: 100px;
}




.seo-testimonials-section {
    background: #f1f1f1;
    padding: 60px 0;
    text-align: center;
}

.seo-testimonials-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.seo-testimonials-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.testimonials {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.testimonial {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    max-width: 300px;
}

.testimonial p {
    font-size: 1rem;
    color: #6c757d;
}

.testimonial h4 {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #007bff;
}

/* SEO技术分享区域样式 */
/* SEO优化精品案例区域样式 */
.seo-case-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.seo-case-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c; /* 标题颜色 */
    margin-bottom: 20px;
}

.case-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.case-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* SEO技术分享区域样式 */
.seo-sharing-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.seo-sharing-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c; /* 标题颜色 */
    margin-bottom: 20px;
}

.seo-sharing-section p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 30px;
}

.card {
    background: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 180px;
    object-fit: cover;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.card-text {
    color: #6c757d;
    margin-bottom: 20px;
}

.card-footer {
    background: #fff;
    border-top: none;
    font-size: 0.9rem;
    color: #999;
}

.btn-primary {
    background: #007bff;
    border: none;
    transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-3px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .seo-sharing-section h2,
    .seo-case-section h2 {
        font-size: 1.5rem;
    }

    .card {
        margin-bottom: 30px;
    }
}
