/* 联系页面样式 - 基于logo颜色的简约霸气版 */

/* 联系页面整体布局 */
.contact-page {
    padding: 80px 0;
}

.contact-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 联系内容布局 */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 320px;
    max-width: calc(50% - 15px);
}

/* 联系页介�?*/
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.contact-intro h2 {
    /* 替换为全局统一标题样式 */
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-intro h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.contact-intro p {
    color: var(--text-color);
    font-size: 18px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    margin-right: 20px;
    margin-top: 5px;
    background-color: rgba(var(--primary-color-rgb), 0.1); /* 使用带透明度的主色调变�?*/
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover i {
    background-color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    color: white;
    transform: translateY(-5px);
}

.info-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    font-weight: 600;
}

.info-item p {
    color: #666;
    margin: 0;
}

.social-links {
    display: flex;
    margin: 30px 0;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(var(--primary-color-rgb), 0.1); /* 使用带透明度的主色调变�?*/
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    font-size: 18px;
}

.social-links a:hover {
    background-color: var(--secondary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(var(--secondary-color-rgb), 0.2); /* 使用带透明度的次色调变�?*/
    color: white;
}

.contact-offices {
    margin-top: 40px;
}

.contact-offices h3 {
    /* 替换为全局统一标题样式 */
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.contact-offices h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.office-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.office-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--block-shadow);
    border-bottom-color: var(--secondary-color); /* 使用CSS变量替换硬编码的颜色�?*/
}

.office-item h4 {
    margin-bottom: 15px;
    color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    font-weight: 600;
}

.office-item p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.office-item p i {
    margin-right: 10px;
    color: var(--secondary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    font-size: 14px;
}

.contact-form {
    flex: 1;
    min-width: 320px;
    background-color: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); /* 使用CSS变量替换硬编码的颜色�?*/
    border-radius: 8px 8px 0 0;
}

.contact-form h3 {
    /* 替换为全局统一标题样式 */
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.contact-form .btn {
    background-color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    border-color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.2); /* 使用带透明度的主色调变�?*/
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1); /* 使用带透明度的主色调变�?*/
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 14px;
    line-height: 1.4;
}

.form-checkbox a {
    color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    text-decoration: underline;
    transition: all 0.3s ease;
}

.form-checkbox a:hover {
    color: var(--secondary-color); /* 使用CSS变量替换硬编码的颜色�?*/
}

/* 错误消息样式 */
.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
    border-color: #e74c3c;
}

.form-response {
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 5px;
    display: none;
}

.form-response.success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-left: 3px solid #2ecc71;
}

.form-response.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-left: 3px solid #e74c3c;
}

/* 地图样式 */
.map-section {
    height: 450px;
    margin-bottom: 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); /* 使用CSS变量替换硬编码的颜色�?*/
    z-index: 10;
}

.map-container {
    height: 100%;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAQ样式 */
.faq-section {
    padding: 80px 0;
    background: #f8fafb;
}

.faq-section h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-color);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
}

.faq-question h4 {
    font-size: 17px;
    margin: 0;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.faq-question i {
    font-size: 16px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    color: #64748b;
    line-height: 1.6;
    font-size: 16px;
}

.faq-item.active {
    box-shadow: 0 4px 20px rgba(0, 169, 157, 0.15);
}

.faq-item.active .faq-question {
    background: rgba(0, 169, 157, 0.03);
}

.faq-item.active .faq-question h4 {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* 添加边角闪光效果 */
.contact-form::after,
.office-item::after,
.map-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, transparent 50%, rgba(var(--secondary-color-rgb), 0.1) 50%); /* 使用带透明度的次色调变�?*/
    border-radius: 0 8px 0 0;
    transition: all 0.3s ease;
}

.contact-form:hover::after,
.office-item:hover::after,
.map-section:hover::after {
    background: linear-gradient(135deg, transparent 50%, rgba(var(--secondary-color-rgb), 0.3) 50%); /* 使用带透明度的次色调变�?*/
}

/* 订阅部分按钮样式增强 */
.subscribe-content .contact-btn {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.subscribe-content .contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
}

.subscribe-content .contact-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.subscribe-content .contact-btn:hover::after {
    opacity: 1;
}

/* 订阅部分修复样式 */
.subscribe-section {
    background: #f9f9f9;
    padding: 60px 0;
}

.subscribe-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.subscribe-content p {
    color: #666;
    margin-bottom: 2rem;
}

.subscribe-form {
    position: relative;
}

.subscribe-form .form-group {
    margin-bottom: 1rem;
}

.subscribe-form .input-group {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 169, 157, 0.1);
    outline: none;
}

.subscribe-form .btn {
    white-space: nowrap;
    padding: 12px 25px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-form .btn:hover {
    background: var(--primary-color-dark, #008c82);
    transform: translateY(-1px);
}

.subscribe-form .btn i {
    transition: transform 0.3s ease;
}

.subscribe-form .btn:hover i {
    transform: translateX(3px);
}

.subscribe-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.subscribe-form .error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: left;
    display: none;
}

.subscribe-form input.invalid {
    border-color: #e74c3c;
}

.subscribe-form input.invalid + .error-message {
    display: block;
}

.subscribe-form .form-response {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.subscribe-form .form-response.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.subscribe-form .form-response.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.subscribe-form .form-response.info {
    display: block;
    background: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

/* 平板设备响应式样式 */
@media (max-width: 768px) {
    .subscribe-content h3 {
        font-size: 1.75rem;
    }
    
    .subscribe-form .input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .subscribe-form .btn {
        width: 100%;
        justify-content: center;
    }
}

/* 手机设备响应式样式 */
@media (max-width: 480px) {
    .subscribe-section {
        padding: 40px 0;
    }
    
    .subscribe-content h3 {
        font-size: 1.5rem;
    }
    
    .subscribe-form input[type="email"] {
        font-size: 14px;
    }
    
    .subscribe-form .btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* 联系我们页面标题样式修复 - 使用与about页面一致的动画效果 */

/* 设置页面标题区块大小与about页面一�?*/
.page-header {
    position: relative;
    opacity: 1; 
    padding: 120px 0 70px !important; /* 与about页面保持一致的padding */
    margin-top: 80px !important;
    transform: translateY(0);
    transition: none;
    backface-visibility: hidden;
    will-change: transform;
    overflow: hidden;
}

.page-header.in-view {
    opacity: 1;
    transform: translateY(0);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 169, 157, 0.8), rgba(232, 158, 91, 0.8));
    z-index: 1;
    opacity: 0.7; /* 确保背景渐变始终完全显示 */
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.page-description {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

/* 形状元素 */
.header-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.shape-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: -50px;
    left: -50px;
}

.shape-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    bottom: -30px;
    right: 10%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: 30%;
    right: 20%;
}

/* 内容部分标题统一样式 */
.contact-info h2,
.contact-form h2,
.map-section h2,
.faq-section h2 {
    font-size: 36px;
    color: #00a99d; /* Logo青绿�?*/
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info h2::after,
.contact-form h2::after,
.map-section h2::after,
.faq-section h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: #e89e5b; /* Logo橙棕�?*/
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 联系我们页面增强样式 */

/* 联系卡片增强 */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    opacity: 1; /* 确保元素可见 */
    transform: translateY(0); /* 重置变换 */
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

/* 联系表单增强 */
.contact-form {
    background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85)), 
                      url('../images/decoration/dots.svg');
    background-size: cover, 120px;
    background-position: center, top right;
    background-repeat: no-repeat, repeat;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    opacity: 1; /* 确保元素可见 */
    transform: translateY(0); /* 重置变换 */
}

.contact-form::before {
    height: 6px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradient-flow 3s linear infinite;
}

@keyframes gradient-flow {
    0% {background-position: 0% 50%}
    50% {background-position: 100% 50%}
    100% {background-position: 0% 50%}
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    background-color: #f8f9fa;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.15);
    background-color: #fff;
}

.contact-form .btn {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    padding: 14px 30px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-form .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-form .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
}

.contact-form .btn:hover::after {
    opacity: 1;
}

/* 社交媒体链接增强 */
.social-links {
    margin: 35px 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    font-size: 20px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    transform: translateY(-10px) rotate(8deg);
    color: #fff;
}

.social-links a:nth-child(1):hover { background-color: #07C160; }  /* 微信�?*/
.social-links a:nth-child(2):hover { background-color: #E6162D; }  /* 微博�?*/
.social-links a:nth-child(3):hover { background-color: #0077B5; }  /* 领英�?*/
.social-links a:nth-child(4):hover { background-color: #1877F2; }  /* 脸书�?*/
.social-links a:nth-child(5):hover { background-color: #1DA1F2; }  /* 推特�?*/
.social-links a:nth-child(6):hover { background-color: #E4405F; }  /* Instagram�?*/

/* 全球办事处卡片增�?*/
.contact-offices {
    margin-top: 50px;
    background-color: rgba(var(--primary-color-rgb), 0.03);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.contact-offices::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.office-item {
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.office-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-color-rgb), 0.05), rgba(var(--secondary-color-rgb), 0.05));
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.office-item:hover::before {
    opacity: 1;
}

.office-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--secondary-color);
}

.office-item h4 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.office-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.office-item p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.office-item p i {
    margin-right: 12px;
    margin-top: 5px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.office-item:hover p i {
    transform: scale(1.2);
}

/* 地图部分增强 */
.map-section {
    margin-top: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    opacity: 1; /* 确保元素可见 */
    transform: translateY(0); /* 重置变换 */
}

/* FAQ部分增强 */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    opacity: 1; /* 确保元素可见 */
    transform: translateY(0); /* 重置变换 */
}

.faq-section::before,
.faq-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.05), rgba(var(--secondary-color-rgb), 0.05));
    z-index: 0;
}

.faq-section::before {
    top: -150px;
    left: -150px;
}

.faq-section::after {
    bottom: -150px;
    right: -150px;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.faq-item:hover {
    box-shadow: var(--block-shadow);
}

.faq-question {
    padding: 20px;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h4 {
    margin: 0;
    font-size: 17px;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question i {
    color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(var(--primary-color-rgb), 0.03);
}

.faq-answer p {
    padding: 15px 20px;
    margin: 0;
    line-height: 1.6;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* FAQ 部分样式 */
.faq-section {
    padding: 80px 0;
    background: #f8fafb;
}

.faq-section h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-color);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
}

.faq-question h4 {
    font-size: 17px;
    margin: 0;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.faq-question i {
    font-size: 16px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    color: #64748b;
    line-height: 1.6;
    font-size: 16px;
}

.faq-item.active {
    box-shadow: 0 4px 20px rgba(0, 169, 157, 0.15);
}

.faq-item.active .faq-question {
    background: rgba(0, 169, 157, 0.03);
}

.faq-item.active .faq-question h4 {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* 添加边角闪光效果 */
.contact-form::after,
.office-item::after,
.map-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, transparent 50%, rgba(var(--secondary-color-rgb), 0.1) 50%); /* 使用带透明度的次色调变�?*/
    border-radius: 0 8px 0 0;
    transition: all 0.3s ease;
}

.contact-form:hover::after,
.office-item:hover::after,
.map-section:hover::after {
    background: linear-gradient(135deg, transparent 50%, rgba(var(--secondary-color-rgb), 0.3) 50%); /* 使用带透明度的次色调变�?*/
}

/* 订阅部分按钮样式增强 */
.subscribe-content .contact-btn {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.subscribe-content .contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
}

.subscribe-content .contact-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.subscribe-content .contact-btn:hover::after {
    opacity: 1;
}

/* 订阅部分修复样式 */
.subscribe-section {
    background: #f9f9f9;
    padding: 60px 0;
}

.subscribe-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.subscribe-content p {
    color: #666;
    margin-bottom: 2rem;
}

.subscribe-form {
    position: relative;
}

.subscribe-form .form-group {
    margin-bottom: 1rem;
}

.subscribe-form .input-group {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 169, 157, 0.1);
    outline: none;
}

.subscribe-form .btn {
    white-space: nowrap;
    padding: 12px 25px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-form .btn:hover {
    background: var(--primary-color-dark, #008c82);
    transform: translateY(-1px);
}

.subscribe-form .btn i {
    transition: transform 0.3s ease;
}

.subscribe-form .btn:hover i {
    transform: translateX(3px);
}

.subscribe-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.subscribe-form .error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: left;
    display: none;
}

.subscribe-form input.invalid {
    border-color: #e74c3c;
}

.subscribe-form input.invalid + .error-message {
    display: block;
}

.subscribe-form .form-response {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.subscribe-form .form-response.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.subscribe-form .form-response.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.subscribe-form .form-response.info {
    display: block;
    background: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

/* 平板设备响应式样式 */
@media (max-width: 768px) {
    .subscribe-content h3 {
        font-size: 1.75rem;
    }
    
    .subscribe-form .input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .subscribe-form .btn {
        width: 100%;
        justify-content: center;
    }
}

/* 手机设备响应式样式 */
@media (max-width: 480px) {
    .subscribe-section {
        padding: 40px 0;
    }
    
    .subscribe-content h3 {
        font-size: 1.5rem;
    }
    
    .subscribe-form input[type="email"] {
        font-size: 14px;
    }
    
    .subscribe-form .btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* 联系我们页面标题样式修复 - 使用与about页面一致的动画效果 */

/* 设置页面标题区块大小与about页面一�?*/
.page-header {
    position: relative;
    opacity: 1; 
    padding: 120px 0 70px !important; /* 与about页面保持一致的padding */
    margin-top: 80px !important;
    transform: translateY(0);
    transition: none;
    backface-visibility: hidden;
    will-change: transform;
    overflow: hidden;
}

.page-header.in-view {
    opacity: 1;
    transform: translateY(0);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 169, 157, 0.8), rgba(232, 158, 91, 0.8));
    z-index: 1;
    opacity: 0.7; /* 确保背景渐变始终完全显示 */
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.page-description {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

/* 形状元素 */
.header-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.shape-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: -50px;
    left: -50px;
}

.shape-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    bottom: -30px;
    right: 10%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: 30%;
    right: 20%;
}

/* 内容部分标题统一样式 */
.contact-info h2,
.contact-form h2,
.map-section h2,
.faq-section h2 {
    font-size: 36px;
    color: #00a99d; /* Logo青绿�?*/
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info h2::after,
.contact-form h2::after,
.map-section h2::after,
.faq-section h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: #e89e5b; /* Logo橙棕�?*/
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 联系我们页面增强样式 */

/* 联系卡片增强 */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    opacity: 1; /* 确保元素可见 */
    transform: translateY(0); /* 重置变换 */
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

/* 联系表单增强 */
.contact-form {
    background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85)), 
                      url('../images/decoration/dots.svg');
    background-size: cover, 120px;
    background-position: center, top right;
    background-repeat: no-repeat, repeat;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    opacity: 1; /* 确保元素可见 */
    transform: translateY(0); /* 重置变换 */
}

.contact-form::before {
    height: 6px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradient-flow 3s linear infinite;
}

@keyframes gradient-flow {
    0% {background-position: 0% 50%}
    50% {background-position: 100% 50%}
    100% {background-position: 0% 50%}
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    background-color: #f8f9fa;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.15);
    background-color: #fff;
}

.contact-form .btn {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    padding: 14px 30px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-form .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-form .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
}

.contact-form .btn:hover::after {
    opacity: 1;
}

/* 社交媒体链接增强 */
.social-links {
    margin: 35px 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    font-size: 20px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    transform: translateY(-10px) rotate(8deg);
    color: #fff;
}

.social-links a:nth-child(1):hover { background-color: #07C160; }  /* 微信�?*/
.social-links a:nth-child(2):hover { background-color: #E6162D; }  /* 微博�?*/
.social-links a:nth-child(3):hover { background-color: #0077B5; }  /* 领英�?*/
.social-links a:nth-child(4):hover { background-color: #1877F2; }  /* 脸书�?*/
.social-links a:nth-child(5):hover { background-color: #1DA1F2; }  /* 推特�?*/
.social-links a:nth-child(6):hover { background-color: #E4405F; }  /* Instagram�?*/

/* 全球办事处卡片增�?*/
.contact-offices {
    margin-top: 50px;
    background-color: rgba(var(--primary-color-rgb), 0.03);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.contact-offices::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.office-item {
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.office-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-color-rgb), 0.05), rgba(var(--secondary-color-rgb), 0.05));
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.office-item:hover::before {
    opacity: 1;
}

.office-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--secondary-color);
}

.office-item h4 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.office-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.office-item p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.office-item p i {
    margin-right: 12px;
    margin-top: 5px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.office-item:hover p i {
    transform: scale(1.2);
}

/* 地图部分增强 */
.map-section {
    margin-top: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    opacity: 1; /* 确保元素可见 */
    transform: translateY(0); /* 重置变换 */
}

/* FAQ部分增强 */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    opacity: 1; /* 确保元素可见 */
    transform: translateY(0); /* 重置变换 */
}

.faq-section::before,
.faq-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.05), rgba(var(--secondary-color-rgb), 0.05));
    z-index: 0;
}

.faq-section::before {
    top: -150px;
    left: -150px;
}

.faq-section::after {
    bottom: -150px;
    right: -150px;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.faq-item:hover {
    box-shadow: var(--block-shadow);
}

.faq-question {
    padding: 20px;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h4 {
    margin: 0;
    font-size: 17px;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question i {
    color: var(--primary-color); /* 使用CSS变量替换硬编码的颜色�?*/
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(var(--primary-color-rgb), 0.03);
}

.faq-answer p {
    padding: 15px 20px;
    margin: 0;
    line-height: 1.6;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* FAQ 部分样式 */
.faq-section {
    padding: 80px 0;
    background: #f8fafb;
}

.faq-section h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-color);
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
}

.faq-question h4 {
    font-size: 17px;
    margin: 0;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.faq-question i {
    font-size: 16px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    color: #64748b;
    line-height: 1.6;
    font-size: 16px;
}

.faq-item.active {
    box-shadow: 0 4px 20px rgba(0, 169, 157, 0.15);
}

.faq-item.active .faq-question {
    background: rgba(0, 169, 157, 0.03);
}

.faq-item.active .faq-question h4 {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}