:root {
    --primary-color: #235b91;
    --secondary-color: #235b91;
    --accent-color: #4a90e2;
    --text-color: #2d3748;
    --light-bg: #f8fafc;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.navbar {
    position: fixed;
    width: 100%;
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
    height: 80px;
}

.navbar.scrolled {
    padding: 0.5rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:#235b91;
    position: relative;
    overflow: hidden;
}


.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    color: var(--text-color);
    text-align: left;
    max-width: 600px;
}

.hero-content h1 {
    color: white;
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(35, 91, 145, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(35, 91, 145, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image img {
        max-width: 100%;
    }
}

/* 通用容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 内容部分样式 */
.content-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.content-block {
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-block h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* 服务部分样式 */
.services-section {
    padding: 5rem 0;
    background: white;
}

.services-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    padding: 2rem;
    text-align: center;
    background: var(--light-bg);
    border-radius: 8px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    width: 64px;
    height: 64px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* 关于我部分样式 */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(43, 108, 176, 0.05), rgba(43, 108, 176, 0.1));
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.qualities {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.qualities span {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    font-size: 1.1rem;
}

.about-content {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
}

.about-grid {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 4rem;
}

/* 左侧内容区域 */
.about-content-wrapper {
    flex: 1;
    max-width: 600px;
}

.content-block {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.block-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.block-header i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.block-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

/* 右侧图片区域 */
.about-images-wrapper {
    width: 350px;
    display: flex;
    flex-direction: column;
}

.about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-extra-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .about-grid {
        flex-direction: column;
        align-items: center;
    }

    .about-content-wrapper {
        max-width: 100%;
    }

    .about-images-wrapper {
        width: 100%;
        max-width: 350px;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-image img,
    .about-extra-image img {
        height: 300px;
    }
}

/* 联系方式部分样式 */
.contact-section {
    padding: 5rem 0;
    background: white;
}

.contact-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 8px;
    min-width: 250px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* 页脚样式 */
.footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        height: 60px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero,
    .service-hero,
    .about-hero,
    .contact-hero,
    .policy-section {
        padding-top: 100px;
    }
}

/* Policy页面样式 */
.policy-section {
    padding-top: 120px;
    padding: 8rem 2rem 4rem;
    background-color: var(--light-bg);
    min-height: 100vh;
}

.policy-section h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }
}

/* Hero部分新样式 */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* 服务部分样式优化 */
.features-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    transform: rotate(-15deg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: transform 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }
}

/* 服务预览部分 */
.services-preview {
    padding: 5rem 0;
    background: white;
}

.services-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 0;
    scrollbar-width: none;
}

.services-slider::-webkit-scrollbar {
    display: none;
}

.service-slide {
    min-width: 300px;
    background: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
}

.service-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.slide-content {
    padding: 1.5rem;
}

.learn-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 500;
}

/* 博客预览部分 */
.blog-preview {
    padding: 5rem 0;
    background: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* 统计数据部分 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

.stat-item i {
    font-size: 2rem;
}

/* 动画效果 */
[data-aos] {
    opacity: 0;
    transition: all 0.3s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* 全局动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* CTA部分增强 */
.cta-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern-circle.svg');
    opacity: 0.1;
    animation: rotate 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-bg);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 修改服务页面头部样式 */
.service-hero {
    padding: 120px 0 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    position: relative;
}

/* 修改关于我页面头部样式 */
.about-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite alternate;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.value-item {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.value-item i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.value-item h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.about-content {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
}

.text-block {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.text-block:hover {
    transform: translateY(-5px);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin: 0;
}

.image-wrapper {
    position: relative;

}

.image-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: 20px;
    left: 20px;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    opacity: 0.2;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .about-values {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .value-item {
        padding: 2rem 1.5rem;
    }

    .value-item i {
        font-size: 2rem;
    }

    .value-item h2 {
        font-size: 1.5rem;
    }

    .text-block {
        padding: 2rem;
    }

    .text-block p {
        font-size: 1rem;
    }
}

/* 修改联系页面头部样式 */
.contact-hero {
    min-height: 40vh;
    background-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/pattern.png');
    opacity: 0.1;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* 联系信息卡片样式 */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.response-time {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 1rem;
}

/* 表单样式优化 */
.contact-form-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.required {
    color: #e53e3e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button:hover {
    background: var(--secondary-color);
}

/* 社交媒体部分 */
.social-section {
    padding: 5rem 0;
    text-align: center;
    background: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--light-bg);
    border-radius: 30px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* FAQ部分 */
.faq-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .form-wrapper {
        padding: 2rem;
    }

    .contact-cards {
        margin-top: -30px;
    }
}

/* Logo样式更新 */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px; /* 根据实际logo图片调整高度 */
    width: auto;
    object-fit: contain;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .logo img {
        height: 32px; /* 移动端稍微缩小logo */
    }
}

/* inicio.html 页面图片控制 */
.feature-card img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.solutions-image img {
    max-width: 500px;
    height: auto;
    object-fit: contain;
    max-height: 300px;
}

.success-image img {
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.success-card:hover .success-image img {
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .feature-card img {
        width: 150px;
        height: 150px;
    }

    .solutions-image img {
        max-width: 100%;
    }

    .success-image img {
        height: 200px;
    }
}

/* quien-soy.html 页面图片控制 */
.about-image {
    max-width: 350px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height:300px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.company-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
}

.certification-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.certification-card:hover img {
    transform: scale(1.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-image {
        max-width: 280px;
    }

    .company-image img {
        max-width: 100%;
        max-height: 250px;
    }

    .certification-card img {
        width: 100px;
        height: 100px;
    }
}

/* servicios.html 页面图片控制 */
.service-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.seo-features .feature img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-right: 2rem;
    transition: transform 0.3s ease;
}

.seo-features .feature:hover img {
    transform: scale(1.1);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .service-image img {
        max-width: 100%;
        max-height: 250px;
    }

    .seo-features .feature img {
        width: 100px;
        height: 100px;
        margin-right: 1rem;
    }

    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
}

/* 解决方案部分样式优化 */
.solutions-section {
    padding: 8rem 0;
    background:#235b91;
    position: relative;
    overflow: hidden;
}

.solutions-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('images/pattern-wave.svg');
    opacity: 0.05;
    animation: wave 20s linear infinite;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solutions-content {
    padding-right: 2rem;
}

.solutions-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.solutions-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.solution-icons {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

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

.icon-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.icon-item span {
    display: block;
    font-weight: 500;
}

.solutions-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solutions-content {
        padding-right: 0;
    }

    .solutions-content h2 {
        font-size: 2rem;
    }

    .solution-icons {
        gap: 1rem;
    }
}

/* 动画效果 */
@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 服务页面介绍部分样式调整 */
.services-hero {
    padding: 120px 0 60px;
    background: var(--gradient-primary);  /* 添加渐变背景 */
    position: relative;
    overflow: hidden;
}

.services-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;  /* 限制整体宽度 */
    margin: 0 auto;
}

.services-intro-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 400px;  /* 减小图片最大宽度 */
    margin: 0 auto;
}

.services-intro-image img {
    width: 100%;
    height: auto;  /* 改为自适应高度 */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.services-intro-image:hover img {
    transform: scale(1.05);
}

.services-intro-content {
    padding-right: 2rem;
}

.services-intro-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

.services-intro-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);  /* 略微透明的白色 */
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .services-intro-image {
        max-width: 350px;  /* 在平板尺寸下进一步缩小 */
    }
}

@media (max-width: 768px) {
    .services-intro-image {
        max-width: 300px;  /* 在手机尺寸下更小 */
    }
}

/* 服务页面样式 */
.services-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-intro h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.services-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.services-detail {
    padding: 5rem 0;
    background: var(--light-bg);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

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

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-header {
    margin-bottom: 2rem;
}

.service-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-group h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-group ul {
    list-style: none;
    padding: 0;
}

.feature-group li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-group li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.services-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.services-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-image {
        aspect-ratio: 16/9;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .services-intro h1 {
        font-size: 2.2rem;
    }

    .service-item {
        padding: 2rem;
    }

    .service-header h2 {
        font-size: 1.8rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .service-desc {
        font-size: 1rem;
    }
}

/* 价格部分样式 */
.pricing-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pricing-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.price-item {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
}

.price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.price-item h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.price-item .price {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.price-item .price span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.pricing-taglines {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tagline {
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(35, 91, 145, 0.15);
}

.tagline h3 {
    color: white;
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pricing-taglines {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .price-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .tagline h3 {
        font-size: 1.4rem;
    }
}

/* 导航栏头像样式 */
.nav-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-profile img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.nav-profile:hover img {
    transform: scale(1.1);
}

/* 服务介绍板块样式调整 */
.intro-section {
    padding: 4rem 0;
    background: #f4f4f4;
    position: relative;
    overflow: hidden;
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.intro-content .subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.intro-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.intro-section-item {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-section-item h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.intro-section-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 0.8rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .intro-section {
        padding: 3rem 0;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

    .intro-section-item h3 {
        font-size: 1.6rem;
    }
}

/* 关于页面额外图片样式 */
.about-extra-image {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-extra-image img {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.about-extra-image:hover img {
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-extra-image {
        margin-top: 1.5rem;
    }
}

/* PDF预览页面样式 */
.pdf-preview-section {
    padding: 120px 0 4rem;
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

.pdf-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pdf-container h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.pdf-viewer {
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.pdf-viewer iframe {
    border: none;
}

.pdf-actions {
    display: flex;
    justify-content: center;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.download-button i {
    font-size: 1.2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .pdf-container {
        padding: 1rem;
    }

    .pdf-viewer iframe {
        height: 400px;
    }

    .pdf-container h1 {
        font-size: 1.5rem;
    }
}

/* 法律声明页面样式 */
.legal-section {
    padding: 120px 0 4rem;
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

.legal-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.legal-header {
    background: var(--primary-color);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.legal-header h1 {
    color: white;
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
    text-align: center;
}

.legal-content {
    padding: 0 2rem 2rem;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: justify;
}

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

    .legal-content {
        padding: 0 1rem 1rem;
    }

    .legal-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* Cookie 弹窗样式 */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
}

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

.cookie-content {
    margin-bottom: 20px;
}

.cookie-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.cookie-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.cookie-btn.configure {
    background: white;
    border: 2px solid #333;
    color: #333;
}

.cookie-btn.reject {
    background: #333;
    color: white;
}

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

.cookie-btn:hover {
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }

    .cookie-content h2 {
        font-size: 1.5rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
} 