.hero-section {
    position: relative;
    height: 70vh;
    background: url('/images/company-environment.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8%;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 156, 235, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-text-wrapper {
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-title-animated {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    animation: titleGlow 3s ease-in-out infinite;
    letter-spacing: 2px;
}

.hero-title-animated::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 156, 235, 0.8), transparent);
    animation: lineGrow 1s ease-out;
}

.hero-title-animated::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(0, 156, 235, 1), transparent);
    animation: underlineGrow 1.5s ease-out 0.5s forwards;
}

.hero-subtitle-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 156, 235, 1), rgba(0, 156, 235, 0.3));
    margin: 20px 0;
    border-radius: 2px;
    animation: lineExpand 1s ease-out 0.3s both;
    box-shadow: 0 0 10px rgba(0, 156, 235, 0.5);
}

.hero-description-animated {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-top: 25px;
    max-width: 600px;
    animation: fadeInRight 1.2s ease-out 0.5s both;
    position: relative;
    padding-left: 20px;
}

.hero-description-animated::before {
    content: '»';
    position: absolute;
    left: 0;
    color: rgba(0, 156, 235, 0.8);
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.hero-decoration-dots {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    animation: fadeIn 1s ease-out 1s both;
}

.hero-decoration-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 156, 235, 0.8);
    box-shadow: 0 0 15px rgba(0, 156, 235, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

.hero-decoration-dots span:nth-child(1) {
    animation-delay: 0s;
}

.hero-decoration-dots span:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-decoration-dots span:nth-child(3) {
    animation-delay: 0.6s;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 156, 235, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(0, 156, 235, 0.8));
    }
}

@keyframes lineGrow {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

@keyframes underlineGrow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes lineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .hero-title-animated {
        font-size: 2.5rem;
    }
    
    .hero-description-animated {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title-animated {
        font-size: 2rem;
    }
    
    .hero-description-animated {
        font-size: 1rem;
        padding-left: 15px;
    }
}

.content-section {
    padding: 20px 8%;
    transition: all 0.3s ease;
}

/* .content-section:hover {
    background-color: rgba(245, 245, 245, 0.5);
} */

.video-section {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.video-container {
    flex: 1;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
}

.video-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(0,156,235), #2c7cda);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
}

.video-placeholder::before {
    /* content: '▶'; */
    font-size: 4rem;
    opacity: 0.8;
}

.company-summary {
    flex: 1;
    padding: 20px;
}

.company-summary h2 {
    color: rgba(0,156,235);
    font-size: 2.2rem;
    margin-bottom: 25px;
    border-left: 4px solid rgba(0,156,235);
    padding-left: 15px;
}

.summary-points {
    list-style: none;
    margin-bottom: 30px;
}

.summary-points li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
}

.summary-points li::before {
    content: '✓';
    color: rgba(0,156,235);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

.cta-button {
    background-color: rgba(0,156,235);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: #164a8d;
}

/* 联系表单新布局样式 */
.contact-container {
    display: flex;
    gap: 50px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
    flex: 1;
    background: linear-gradient(135deg, rgba(0,156,235), #2c7fda);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: white;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.contact-detail i {
    font-size: 1.2rem;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-detail h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-detail p {
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}

.contact-form {
    flex: 1;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group.full-width {
    grid-column: 1 / -1;
}

.contact-section {
    /* background: #f8f9fa; */
    padding: 60px 8%;
    border-radius: 10px;
}

.contact-section h2 {
    color: rgba(0,156,235);
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(0,156,235);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    grid-column: 1 / -1;
    background-color: rgba(0,156,235);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #164a8d;
}

.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: rgba(0,156,235);
}

.icp {
    color: #999;
    font-size: 0.9rem;
    border-top: 1px solid #555;
    padding-top: 20px;
    margin-top: 20px;
}

/* 服务模块样式 */
.services-section {
    padding: 40px 0;
}

.services-section h2 {
    color: rgba(0,156,235);
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: center;
    border-bottom: 2px solid rgba(0,156,235);
    padding-bottom: 15px;
    display: inline-block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
    width: 100%;
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,156,235, 0.7), rgba(0,156,235, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-item:hover .service-overlay {
    opacity: 1;
}

.service-overlay h3 {
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 新闻模块样式 */
.news-section {
    padding: 80px 0;
    /* background: #f8f9fa; */
    border-radius: 10px;
}

.news-section h2 {
    color: rgba(0,156,235);
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: center;
    border-bottom: 2px solid rgba(0,156,235);
    padding-bottom: 15px;
    display: inline-block;
}

.news-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 100%;
}

.news-nav-button {
    background: rgba(0,156,235);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
}

.news-nav-button:hover {
    background: #164a8d;
}

.news-slider {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 20px 0;
    overflow: hidden;
    transition: transform 0.5s ease;
    width: 100%;
}

.news-slider-wrapper {
    position: relative;
    overflow: hidden;
    flex: 1;
    margin: 0 20px;
    max-width: calc(100% - 140px);
}

.news-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 300px;
    max-width: 380px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* 移动端适配 */
@media (max-width: 1024px) {
    .news-slider-wrapper {
        max-width: calc(100% - 120px);
    }
    
    .news-item {
        flex: 0 0 calc(50% - 10px);
        min-width: 280px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .news-slider {
        gap: 15px;
        padding: 15px 0;
    }
    
    .news-slider-wrapper {
        max-width: calc(100% - 100px);
        margin: 0 15px;
    }
    
    .news-item {
        flex: 0 0 calc(50% - 8px);
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .news-slider {
        gap: 12px;
        padding: 10px 0;
    }
    
    .news-slider-wrapper {
        max-width: 100%;
        margin: 0 10px;
    }
    
    .news-item {
        flex: 0 0 calc(100% - 0px);
        min-width: 100%;
        max-width: 100%;
    }
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    color: rgba(0,156,235);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.news-read-more:hover {
    color: #164a8d;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-section {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-item {
        flex: 0 0 calc(50% - 15px);
        min-width: 280px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-container {
        flex-direction: column;
    }
    
    .news-nav-button {
        display: none;
    }
    
    .news-slider {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-item {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .news-content h3 {
        font-size: 1.1rem;
    }
}
/* 悬浮联系按钮样式 */
.floating-contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,156,235), #2c7cda);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.floating-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.floating-button i {
    font-size: 24px;
}

.floating-button .button-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.floating-button .button-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.floating-button:hover .button-tooltip {
    opacity: 1;
}

.phone-button {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.phone-button:hover {
    background: linear-gradient(135deg, #218838, #1ea080);
}

.wechat-button {
    background: linear-gradient(135deg, #07c160, #06ad56);
}

.wechat-button:hover {
    background: linear-gradient(135deg, #06ad56, #059648);
}

.email-button {
    background: linear-gradient(135deg, rgba(0,156,235), #2c7cda);
}

.email-button:hover {
    background: linear-gradient(135deg, #164a8d, rgba(0,156,235));
}

/* 聊天按钮通知徽章样式 */
.floating-button.chat-button .notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: #e74c3c;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    z-index: 10;
}

/* 电话模态框样式 */
.phone-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.phone-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

.phone-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.phone-modal-close:hover {
    color: #333;
}

.phone-modal-content h3 {
    color: rgba(0,156,235);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.phone-number-display {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.phone-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745, #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.phone-icon i {
    font-size: 40px;
    color: white;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.phone-call-button {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    margin-bottom: 15px;
}

.phone-call-button:hover {
    background: linear-gradient(135deg, #218838, #1ea080);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.phone-call-button:active {
    transform: translateY(0);
}

.phone-tip {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin: 0;
}

/* 微信二维码模态框样式 */
.wechat-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.wechat-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

.wechat-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.wechat-modal-close:hover {
    color: #333;
}

.wechat-modal-content h3 {
    color: rgba(0,156,235);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.wechat-qrcode-placeholder {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wechat-qrcode-placeholder img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.wechat-qrcode-placeholder p {
    margin: 10px 0;
    color: #666;
}

.wechat-tip {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式设计 - 悬浮按钮 */
@media (max-width: 768px) {
    .floating-contact-buttons {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .floating-button {
        width: 50px;
        height: 50px;
    }
    
    .floating-button i {
        font-size: 20px;
    }
    
    .floating-button .button-tooltip {
        display: none;
    }
}

/* 留言聊天框样式 - 使用ly.html样式 */
.contact-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 450px;
    height: 550px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.contact-chat-widget.active {
    display: flex;
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.chat-header {
    background: linear-gradient(to right, rgba(0,156,235), #2c7cda);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 手机号输入区域样式 */
.phone-input-area {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
    flex-shrink: 0;
}

.phone-input-area label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 1rem;
    transition: border 0.3s;
}

.phone-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.phone-status {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.phone-status.valid {
    color: #27ae60;
    background-color: rgba(39, 174, 96, 0.1);
}

.phone-status.invalid {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f8f9fa;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message.received {
    align-items: flex-start;
}

.message.sent {
    align-items: flex-end;
}

.message-bubble {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
}

.received .message-bubble {
    background-color: #e9ecef;
    color: #333;
    border-bottom-left-radius: 5px;
}

.sent .message-bubble {
    background: linear-gradient(to right, rgba(0,156,235), #2c7cda);
    color: white;
    border-bottom-right-radius: 5px;
}

.message-time {
    font-size: 0.7rem;
    color: #95a5a6;
    margin-top: 5px;
}

.chat-form-container {
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.chat-form {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    max-height: 300px;
    overflow-y: auto;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-fields::-webkit-scrollbar {
    width: 4px;
}

.form-fields::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.form-fields::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.form-fields::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.chat-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-form label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin: 0;
}

.chat-form .required {
    color: #e74c3c;
    font-weight: bold;
}

.chat-form input,
.chat-form textarea {
    padding: 10px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
    background: #fafafa;
}

.chat-form input:focus,
.chat-form textarea:focus {
    outline: none;
    border-color: rgba(0,156,235);
    background: white;
    box-shadow: 0 0 0 3px rgba(0,156,235, 0.1);
}

.chat-form textarea {
    resize: vertical;
    min-height: 70px;
    max-height: 120px;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 0.95rem;
    transition: border 0.3s;
}

.chat-input:focus {
    border-color: #3498db;
}

.send-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s, opacity 0.3s;
}

.send-btn:hover {
    transform: scale(1.05);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chat-input-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.chat-icon-btn {
    background: transparent;
    border: none;
    color: #666;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 16px;
}

.chat-icon-btn:hover {
    background: #f0f0f0;
    color: rgba(0,156,235);
}

.chat-phone-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.chat-phone-input:focus {
    border-color: rgba(0,156,235);
}

.chat-phone-btn {
    background: linear-gradient(135deg, rgba(0,156,235), #2c7cda);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.chat-phone-btn:hover {
    background: linear-gradient(135deg, #164a8d, rgba(0,156,235));
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,156,235, 0.3);
}

.chat-submit-btn {
    background: linear-gradient(135deg, rgba(0,156,235), #2c7cda);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
    box-shadow: 0 2px 6px rgba(0,156,235, 0.2);
}

.chat-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #164a8d, rgba(0,156,235));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,156,235, 0.4);
}

.chat-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.chat-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.chat-form-container .form-message {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
    display: none;
    margin-bottom: 8px;
}

.chat-form-container .form-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.chat-form-container .form-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 响应式设计 - 聊天框 */
@media (max-width: 768px) {
    .contact-chat-widget {
        width: 90vw;
        height: 70vh;
        right: 5vw;
        bottom: 100px;
    }
}

@media (max-width: 480px) {
    .contact-chat-widget {
        width: 95vw;
        height: 80vh;
        right: 2.5vw;
    }
}

/* 页面标题区域 */
.page-header {
    background: linear-gradient(rgba(0,156,235), rgba(0,156,235));
    background-size: cover;
    padding: 120px 8% 80px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
/* 服务模块样式 */
.service-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
    cursor: pointer; /* 添加指针光标表示可点击 */
}