/* 联系信息部分 */
.contact-section {
    padding: 40px 0 20px 0;
    background: #fff;
    background: url('../images/contactbg.jpg') no-repeat center;
    background-size: cover;
}

.company-info {
    text-align: center;
    width: 100%;
    padding: 40px 0;
}

.company-info h2 {
    font-size: 32px;
    color: #333;
    font-weight: 500;
    margin-bottom: 20px;
}

.info-line {
    width: 40px;
    height: 4px;
    background: #23C16E;
    margin: 0 auto;
    border-radius: 2px;
}

/* 联系方式网格 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.contact-item {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

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

.contact-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-text p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 5px;
}
.contact-text p a{
    color: #333;
}

.contact-text p:last-child {
    margin-bottom: 0;
}

/* 在线留言部分 */
.message-section {
    max-width: 1200px;
    margin: 0 auto;
    padding-top:60px;
    padding-bottom:40px;
}

.section-title {
    text-align: center;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    font-weight: 500;
    margin-bottom: 20px;
}

.title-line {
    width: 40px;
    height: 4px;
    background: #23C16E;
    margin: 0 auto;
    border-radius: 2px;
}

.message-form {
    padding: 40px;
    border-radius: 8px;
}

.form-layout {
    display: flex;
    gap: 30px;
}

.form-left {
    flex: 1;
}

.form-right {
    flex: 1;
}

.form-right .form-group {
    height: 100%;
}

.form-right textarea.form-control {
    height: 100%;
}

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

.form-left .form-group:last-child {
    margin-bottom: 0;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s;
    background: #F8F8F8;
}

.form-control::placeholder {
    color: #A2A3A5;
}

.form-control:focus {
    border-color: #23C16E;
    outline: none;
    box-shadow: 0 0 0 2px rgba(35, 193, 110, 0.1);
}

textarea.form-control {
    resize: none;
    height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    display: inline-block;
    padding: 12px 80px;
    background: #fff;
    color: #23C16E;
    border: 2px solid #23C16E;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #23C16E;
    color: #fff;
    border-color: #23C16E;
}

/* 响应式样式 */
@media (max-width: 991.98px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-item {
        padding: 25px;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .message-form {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .contact-section {
        padding: 40px 0;
    }

    .company-info {
        margin-bottom: 40px;
    }

    .company-info h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 50px;
    }

    .contact-item {
        padding: 20px;
    }


    .section-title h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .message-form {
        padding: 20px;
    }

    .form-layout {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .form-right textarea.form-control {
        height: 120px;
    }

    .form-control {
        padding: 10px 15px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 10px 60px;
        font-size: 14px;
    }
    .section-title{
        margin-bottom: 0px !important;
    }
} 