/* ==================== 联系我们页面样式 ==================== */

/* 联系我们页面样式 */
.card-title i{
    font-size: 20px !important;
}
/* 面包屑导航阴影 */
.breadcrumb-section {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.01), 0 3px 6px rgba(141, 0, 4, 0.2) !important;
    position: relative;
    z-index: 10;
}

/* 联系信息卡片 */
.contact-cards-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(141, 0, 4, 0.1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #8d0004;
}

.contact-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8d0004, #b8000a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.contact-card .card-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-card .card-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-card .card-subtext {
    font-size: 14px;
    color: #999;
}

/* 留言表单和公司信息区域 */
.form-info-section {
    padding: 20px 0;
    background: white;
}

.form-info-layout {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* 地图区域 */
.map-section {
    background: #f8f9fa;
}

.map-container-full {
    width: 76%;
    
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);

    margin: 30px auto;
}

.map-section .map-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.map-section .map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.map-section .map-info {
    text-align: center;
    margin-top: 20px;
}

.map-section .map-info p {
    margin: 10px 0;
    color: #666;
    font-size: 16px;
}

.map-section .map-info i {
    color: #8d0004;
    margin-right: 8px;
}

/* 表单区域 */
.form-section {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    position: relative;
}

.section-title1::after {
    content: '';
    width: 50px;
    height: 4px;
    background: linear-gradient(135deg, #ffd700, #ffd700);
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    margin-top: 15px;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 表单样式 */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #8d0004;
    width: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'AlibabaPuHuiTi', Arial, sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8d0004;
    box-shadow: 0 0 0 3px rgba(141, 0, 4, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}



.verifycode-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-codeimg {
    transition: all 0.3s ease;
}

.contact-codeimg:hover {
    border-color: #8d0004 !important;
    box-shadow: 0 0 0 3px rgba(141, 0, 4, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #8d0004, #b8000a);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(141, 0, 4, 0.3);
}

/* 信息区域 */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.company-info-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info-card,
.map-card,
.qr-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(141, 0, 4, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header {
    background: linear-gradient(135deg, #8d0004, #b8000a);
    padding: 20px 25px;
}

.card-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title i {
    font-size: 20px;
}

/* 公司信息列表 */
.info-list {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}


.info-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.info-item .info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8d0004, #b8000a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.info-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* 地图区域 */
.map-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.map-container:hover .map-image {
    transform: scale(1.05);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.map-marker {
    width: 40px;
    height: 40px;
    background: #8d0004;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(141, 0, 4, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(141, 0, 4, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(141, 0, 4, 0);
    }
}

.map-info {
    padding: 20px 25px;
    background: #f8f9fa;
}

.map-info p {
    font-size: 14px;
    color: #666;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-info i {
    color: #8d0004;
    width: 16px;
}

/* 二维码区域 */
.qr-content {
    padding: 30px;
    text-align: center;
}

.qr-image {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qr-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 服务承诺 */
.service-promise-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-promise-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.promise-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(141, 0, 4, 0.1);
}

.promise-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #8d0004;
}

.promise-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8d0004, #b8000a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 28px;
}

.promise-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.promise-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (min-width: 2500px) {
    .breadcrumb{
        font-size: 26px !important;
    }
    .section-title {
        font-size: 48px !important;
    }
    .card-title img{
        width: 40px !important;
        height: 40px !important;
    }
    .section-subtitle {
        font-size: 24px !important;
    }
    .card-title{
        font-size: 24px !important;
    }
    .card-text{
        font-size: 24px !important;
    }
    .card-subtext{
        font-size: 24px !important;
    }
    .info-item .info-icon{
        width: 60px !important;
        height: 60px !important;
        font-size: 24px !important;
    }
    .info-item img{
        width: 30px !important;
        height: 30px !important;
    }
    .info-content h4{
        font-size: 20px;
        
    }
    .info-content p{
            font-size: 18px;
    }
    .section-title1{
        font-size: 38px;
    }
    .form-group label{
        font-size: 24px;
    }
    .form-group label i{
        font-size: 24px;
    }
    .form-group input{
        font-size: 18px;
    }
    .form-group textarea{
        font-size: 18px;
    }
    .form-group label i{
        width: 24px;
    }
    .form-group select{
        font-size: 18px;
    }
    .submit-btn{
        font-size: 26px;
    }

}
@media (max-width: 1024px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-info-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-container-full { width: 90%; }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-section {
        padding: 30px 20px;
    }
    
    .info-section {
        gap: 20px;
    }
    
    .promise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title1 {
        font-size: 24px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .contact-card .card-icon {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .promise-item {
        padding: 30px 20px;
    }
    
    .promise-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    /* 公司信息块适配（≤1024px） */
    .info-card .card-header {
        padding: 16px 20px;
    }
    .info-list {
        padding: 20px;
        gap: 16px;
    }
    .info-item {
        padding: 12px;
        gap: 12px;
    }
    .info-item .info-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .info-content h4 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    .info-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .contact-cards-section,
    .form-info-section,
    .service-promise-section {
        padding: 10px 0;
    }
    
    .form-section {
        padding: 25px 15px;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
    
    .promise-item {
        padding: 25px 15px;
    }
    
    .section-title1 {
        font-size: 22px;
    }
    
    /* 公司信息块适配（≤480px） */
    .info-card .card-header {
        padding: 14px 16px;
    }
    .card-title {
        font-size: 16px;
    }
    .info-list {
        padding: 16px;
        gap: 12px;
    }
    .info-item {
        padding: 10px;
        gap: 10px;
    }
    .info-item .info-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 6px;
    }
    .info-content h4 {
        font-size: 12px;
    }
    .info-content p {
        font-size: 12px;
    }
    .map-container-full { width: 100%; }
}

/* 动画效果 */
.contact-cards-section.animate .contact-card {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-cards-section.animate .contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-cards-section.animate .contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-cards-section.animate .contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-cards-section.animate .contact-card:nth-child(4) { animation-delay: 0.4s; }

.main-contact-section.animate .form-section {
    animation: fadeInLeft 0.8s ease forwards;
}

.main-contact-section.animate .info-section {
    animation: fadeInRight 0.8s ease forwards;
}

.service-promise-section.animate .promise-item {
    animation: fadeInUp 0.6s ease forwards;
}

.service-promise-section.animate .promise-item:nth-child(1) { animation-delay: 0.1s; }
.service-promise-section.animate .promise-item:nth-child(2) { animation-delay: 0.2s; }
.service-promise-section.animate .promise-item:nth-child(3) { animation-delay: 0.3s; }
.service-promise-section.animate .promise-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}